You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/17 07:31:37 UTC

[GitHub] [shardingsphere-elasticjob-ui] yequanzhuo commented on issue #159: server start success,but login error,caused by NullPointerException

yequanzhuo commented on issue #159:
URL: https://github.com/apache/shardingsphere-elasticjob-ui/issues/159#issuecomment-1280414704

   I have the same problem,My operation steps are as follows:
   1. git clone https://github.com/apache/shardingsphere-elasticjob-ui.git
   2. cd shardingsphere-elasticjob-ui/
   3. mvn clean install -Prelease -DskipTests
   4. cp apache-shardingsphere-elasticjob-3.1.0-SNAPSHOT-lite-ui-bin.tar.gz /opt/apache-shardingsphere-elasticjob-3.1.0-SNAPSHOT-lite-ui-bin.tar.gz
   5. cd /opt/
   6. tar -zxf apache-shardingsphere-elasticjob-3.1.0-SNAPSHOT-lite-ui-bin.tar.gz
   7. cd apache-shardingsphere-elasticjob-3.1.0-SNAPSHOT-lite-ui-bin/bin/
   8. ./start.sh 
   
   server start success,but login error(Neither user can login ,root | guest)
   ![image](https://user-images.githubusercontent.com/26114870/196114930-37fc85cc-80be-4aac-8e38-3f1a0ad53c0c.png)
   
   log content:
   java.lang.NullPointerException: null
   	at org.apache.shardingsphere.elasticjob.lite.ui.security.UserAuthenticationService.checkUser(UserAuthenticationService.java:65)
   	at org.apache.shardingsphere.elasticjob.lite.ui.security.AuthenticationFilter.handleLogin(AuthenticationFilter.java:76)
   	at org.apache.shardingsphere.elasticjob.lite.ui.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58)
   	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
   
   envirment: 3.0.1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org