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
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply 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: 47
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: 813

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Null pointer Exception Exception after upgrading Weblogic 8.1 to Weblogic 10.3
 
Similar Threads
Getting java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper
oracle weblogic server 10 (no build tool found)
can we deploy ejb 2.0 applications in weblogic server 10.3?
Migration of Java Application from WebLogic 8.1 to Weblogic 10.3
Boundary of Multi part message is getting changed whenever message is written on output stream