Hi !
Iam getting NullPointerException and IllegalStateException when running the JSP which calls the bean (Stateless session bean and BMP entity bean). What could be the problem and how to fix it.
This is the error message I get :
Tue Apr 24 17:36:51 PDT 2001:<E> <HTTP> Connection failure
java.lang.IllegalStateException: HttpSession is invalid
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.IllegalStateException.<init>(IllegalStateException.java:45)
at weblogic.servlet.internal.session.SessionData.getAttribute(Compiled Code)
at weblogic.servlet.internal.session.SessionData.getValue(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getRemoteUser(Compiled Code)
at weblogic.t3.srvr.httplog.CLFLogger.log(Compiled Code)
at weblogic.t3.srvr.httplog.LogManagerHttp.log(Compiled Code)
at weblogic.t3.srvr.HttpServer.log(Compiled Code)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)

Tue Apr 24 17:37:10 PDT 2001:<E> <ServletContext-General> Servlet failed with Exception
java.lang.NullPointerException
at jsp_servlet._buyplan._buyplandetail._jspService(Compiled Code)
at weblogic.servlet.jsp.JspBase.service(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)

Early response is appreciated.

Thanks
AJP