Hi,
We have been facing an exception for some time now where an exception is raised at the
time of login if the application is left idle for a few hours. This especially happens if
the JBoss AS 3.2.7 is left running over night. The next day, on login attempt the
following exception is raised
Caused by: javax.faces.FacesException: #{index.validateUser}:
javax.faces.el.EvaluationException: java.lang.NullPointerException
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
at
com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:266)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:380)
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
... 37 more
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
... 45 more
Caused by: java.lang.NullPointerException
at
com.tabaq.edocument.login.jsf.LoginValidator.validateUserPassword(LoginValidator.java:110)
at edocument.index.validateFields(index.java:480)
at edocument.index.validateUser(index.java:437)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
We have not been able to narrow down the root cause of this problem. I am also not sure
of the exact time period which causes problem.
I will appreciate if someone can help me find a solution to this.
Thanks in advance.
regards,
Sultan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173024#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...