aoktox / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Unknown error on admin login #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to login as admin the following error occurs:

Unknown error. If this error occurs repeatedly please contact your helpdesk. { 
5015 ERROR_UNKNOWN } 

What steps will reproduce the problem?
1.Browse to pwm/private/Login
2.
3.

What is the expected output? What do you see instead?

What version of PWM are you using?
1.5.5

What ldap directory and version are you using?
Openldap 2.4.23

Please paste any error log messages below:
2011-07-09 01:33:22, INFO , pwm.AuthenticationFilter, {0~} successful plaintext 
authentication for cn=admin,ou=people,dc=turkuazlinux,dc=org (81ms) 
[192.168.122.1]
2011-07-09 01:33:22, WARN , servlet.TopServlet, {0~} unexpected exception 
during page generation: null [192.168.122.1]
java.lang.NullPointerException
        at password.pwm.config.Configuration.getGlobalChallengeSet(Configuration.java:167)
        at password.pwm.CrUtility.readUserChallengeSet(CrUtility.java:94)
        at password.pwm.UserStatusHelper.populateUserInfoBean(UserStatusHelper.java:224)
        at password.pwm.UserStatusHelper.populateActorUserInfoBean(UserStatusHelper.java:187)
        at password.pwm.AuthenticationFilter.authenticateUser(AuthenticationFilter.java:278)
        at password.pwm.servlet.LoginServlet.processRequest(LoginServlet.java:79)
        at password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:74)
        at password.pwm.servlet.TopServlet.doPost(TopServlet.java:115)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.AuthenticationFilter.processUnAuthenticatedSession(AuthenticationFilter.java:150)
        at password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.SessionFilter.doFilter(SessionFilter.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)

Original issue reported on code.google.com by erdem.ba...@gmail.com on 8 Jul 2011 at 10:36

GoogleCodeExporter commented 9 years ago
Running pwm 1.5.5 on tomcat 6.0.32 with sun-jdk 1.6.0_p26

Original comment by erdem.ba...@gmail.com on 8 Jul 2011 at 10:45

GoogleCodeExporter commented 9 years ago
Can you paste the whole trace from PWM startup to error, and also the 
PwmConfiguration.xml that is causing this?

Original comment by jrivard on 8 Jul 2011 at 11:15

GoogleCodeExporter commented 9 years ago
catalina.out and PwmConfiguration.xml attached

Original comment by erdem.ba...@gmail.com on 9 Jul 2011 at 12:05

Attachments:

GoogleCodeExporter commented 9 years ago
I tried with your configuration on my 1.5.5 test server.  I changed the LDAP 
settings to work with my directory (eDirectory) and was able to login as admin 
without issue..

Can you try clearting out your tomcat/work and tomcat/temp directories?

Are you using a tomcat distribution that came with your OS?  If so, can you try 
grabbing a fresh tomcat zip/tar from apache and try with that?

Original comment by jrivard on 9 Jul 2011 at 12:30

GoogleCodeExporter commented 9 years ago
I have tried with stock tomcat with no luck. However changing firefox language 
settings as stated in issue 83 seems to solve the issue.

Original comment by erdem.ba...@gmail.com on 11 Jul 2011 at 12:30

GoogleCodeExporter commented 9 years ago
Thanks for checking.  I'm going to close this issue and mark as a dupe of 83 
since it seems to be the same root cause.

Original comment by jrivard on 11 Jul 2011 at 3:50