Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NullPointeException - weblogic.servlet...ReplicatedSesion.setAttribute

Status
Not open for further replies.

MENON

Programmer
Jul 23, 2001
28
US
Hi guys,

We are getting this problem in a clustered environment with weblogic sp10. Does anyone have any solutions or ideas to resolve this issue?

Servlet failed with Exception java.lang.NullPointerException
at weblogic.servlet.internal.session.ReplicatedSession.setAttribute(ReplicatedSession.java:345)
at com.gs.fw.hr.erc.action.ActionHandler.doProcess(ActionHandler.java:98)
at com.gs.fw.hr.erc.FrontController.process(FrontController.java:98)
at com.gs.fw.hr.erc.FrontController.doPost(FrontController.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)


Thanks for any help in advance,

Regards,
R. Menon
 
Hello,
I'm sorry I don't have a solution to your problem because I have a similar problem. I've posted my question title 'error in log4j'. I just wanted to ask you if you got over your problem. how did you solve it?. What was the problem anyway?. I get the following error when I run my application.

<Apr 1, 2002 11:09:14 AM PKT> <Error> <HTTP> [WebAppServletContext(8260001,Defa ultWebApp,/DefaultWebApp)] Servlet failed with Exception
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:64)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:294)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:312)
at com.gepower.aep.util.Log.<clinit>(Log.java:30)
atcom.gepower.aep.servlet.art.ARTServlet.isSsoOnARTServlet.java:146)
at com.gepower.aep.servlet.art.ARTServlet.doPo ARTServlet.java:95)
at javax.servlet.http.HttpServlet.serviceHttpServlet.java:760)
at javax.servlet.http.HttpServlet.service
 
Yes, we have resolved our problem. The problem was related to weblogic sp version. We were setting an attribute in session as NULL, we changed this to '' and everything worked well.

We have now overcome this design completely by storing a single object in session and all individual parameters are now part of this object.

hope this helps...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top