This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
We have upgraded our application from Weblogic 8.1 to Weblogic 10.3. After upgeade, we are getting the following exception randomly.
"Nullpointerexception at weblogic.servlet.internal.servletrequestimpl sessionhelper.initsessioninfo(ServletRequestImpl.java:2611)" Please help me why this occurs.
This is not the complete stack trace, which would not help identifying/resolving the issue. Post the stack trace... (Please be sure to use the code tag while posting the same).
As far as I can guess, this issue is caused due to any of your deployed application; you might be trying to use a request object where it is not in the scope. I cannot comment any further.
If you ask me, why this error was not there in your 8.1 env. , well we will find that out once you post the stack trace.
Each request object is valid only within the scope of a servlet’s service method, or
within the scope of a filter’s doFilter method. Containers commonly recycle
request objects in order to avoid the performance overhead of request object
creation. The developer must be aware that maintaining references to request objects
outside the scope described above is not recommended as it may have indeterminate