Hi. My name is Lívia and a week ago I started to look for a Java Single-Sign-On project so I can use it in one of my projects. I was introduced to Josso and it attends to many of may needs. I got it working on Jboss 4.2.3. but it seems that the Lost Password feature is not working property (or probably I'm messing it).
I changed the priority log for DEBUG so I get to know the error. And I get the following:
2011-02-15 16:27:55,061 DEBUG [org.josso.selfservices.password.LostPasswordAction] Using process id [4C054D10911CB52E] from request
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.LostPasswordAction] Found response for challenge : email
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Handling request for process [4C054D10911CB52E]
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Handling request for process [4C054D10911CB52E]
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : createNewProcess
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : getChallengeId
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : setChallengeId
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : getChallengeText
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : setChallengeText
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : start
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : stop
2011-02-15 16:27:55,062 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : fatalError
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method annotation : @org.josso.selfservices.annotations.Action(fromSteps=[fatalError])
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : fatalError
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : getIdentityManager
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : processChallenges
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method annotation : @org.josso.selfservices.annotations.Action(fromSteps=[requestChallenges, requestAdditionalChallenges])
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : requestChallenges
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : requestAdditionalChallenges
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : requestPasswordConfirmation
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method annotation : @org.josso.selfservices.annotations.Action(fromSteps=[confirmPassword, requestAdditionalConfirmationChallenges])
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : confirmPassword
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : requestAdditionalConfirmationChallenges
2011-02-15 16:27:55,063 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : passwordResetted
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method annotation : @org.josso.selfservices.annotations.Action(fromSteps=[passwordReseted])
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : passwordReseted
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method : authError
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing method annotation : @org.josso.selfservices.annotations.Action(fromSteps=[authError])
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Processing annotation step : authError
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.PasswordManagementServiceImpl] Dispatching request from step authError to process [4C054D10911CB52E] action authError
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.lostpassword.AbstractLostPasswordProcess] Stopping lost password process .. .
2011-02-15 16:27:55,064 DEBUG [org.josso.selfservices.password.LostPasswordAction] Process Next Step (forward) : null. Final true
2011-02-15 16:27:55,064 ERROR [org.josso.selfservices.password.LostPasswordAction] Error recovering password : null
java.lang.NullPointerException
at org.josso.selfservices.password.LostPasswordAction.execute(LostPasswordAction.java:136)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.josso.gateway.filter.ProtocolHandlerFilter.doFilter(ProtocolHandlerFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.josso.tc55.agent.SSOAgentValve.invoke(SSOAgentValve.java:274)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:662)
I would look it through the source code, but unfortunately it is not packaged in the josso-1.8.0-src.zip availabled at josso.org.
That error occurs when I set a valid email at http://localhost:8080/josso/selfservices/lostpassword/lostPassword.do?josso_cmd=lostPwd and click on Reset Password button. I already read the documentation about the basic configuration at http://www.josso.org/confluence/display/JOSSO1/Password+Reset+Setup and I even created a field email at josso_user table as one of the previous errors was that the josso couldn't find any column named email.
Can somebody help me figure why this error is happening or what are the possibilities?
Thanks in advance!