I am getting a null pointer exception sometimes in my web application, which runs in RAD 8.5 and WAS 8.5 .
The exception is :
An exception was thrown by one of the service methods of the servlet [Faces Servlet] in application [Gedit]. Exception created :
[java.lang.NullPointerException
at org.apache.myfaces.shared_impl.context.flash. FlashImpl.isKeepMessages(FlashImpl.java:367)
at org.apache.myfaces.shared_impl.context.flash. FlashImpl._saveMess`
I am not using myfaces
, but the ibm faces
. So , i am not understanding what may be the cause of this error . Can some one kindly help me out here ?
I got the problem when a JSF 2.0 (base IBM Websphere 8.5.5 implementation) was deployed to a running server that had other applications on it. After restarting the server, everything was fine.