aspose file tools*
The moose likes BEA/Weblogic and the fly likes Null pointer Exception Exception after upgrading Weblogic 8.1 to Weblogic 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Null pointer Exception Exception after upgrading Weblogic 8.1 to Weblogic 10.3" Watch "Null pointer Exception Exception after upgrading Weblogic 8.1 to Weblogic 10.3" New topic
Author

Null pointer Exception Exception after upgrading Weblogic 8.1 to Weblogic 10.3

karthik manick
Ranch Hand

Joined: Aug 25, 2009
Posts: 52
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.

Thanks.
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823

Hey Karthik,

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.

FYI:



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
results.



Regards, Sud.
SCJP 5 ScjpFAQ JLS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Null pointer Exception Exception after upgrading Weblogic 8.1 to Weblogic 10.3