struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malik, Yousuff M" <Yousuff.M.Ma...@erac.com>
Subject java.lang.NullPointerException at org.apache.struts.action.RequestProcessor.getServletContext(RequestProcesso r.java:1136)
Date Wed, 12 Oct 2005 21:51:47 GMT
I need help. I am getting the following exception when I try to login in
my web application
 
I am using struts 1.1 and weblogic 7.0. Below is the stack trace
 
 
<Oct 12, 2005 8:57:42 PM GMT> <Error> <HTTP> <101017>
<[ServletContext(id=130706
4407,name=web,context-path=/seal)] Root cause of ServletException
java.lang.NullPointerException
        at
org.apache.struts.action.RequestProcessor.getServletContext(RequestPr
ocessor.java:1136)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1062)
        at
org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5533)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:685)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3164)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2506)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:238)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:214)
>
####<Oct 12, 2005 8:57:42 PM GMT> <Error> <HTTP> <devapr18>
<devapr18-21> <Execu
teThread: '8' for queue: 'default'> <kernel identity> <> <101017>
<[ServletConte
xt(id=1307064407,name=web,context-path=/seal)] Root cause of
ServletException>
java.lang.NullPointerException
        at
org.apache.struts.action.RequestProcessor.getServletContext(RequestPr
ocessor.java:1136)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1062)
        at
org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5533)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:685)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3164)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2506)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:238)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:214)
<Oct 12, 2005 8:57:42 PM GMT> <Error> <HTTP> <101002>
<[ServletContext(id=130706
4407,name=web,context-path=/seal)] Could not deserialize context
attribute
java.io.NotSerializableException:
org.apache.struts.action.RequestProcessor
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compi
led Code))
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compil
ed Code))
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper
.java:91)
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper
.java:66)
        at
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppSer
vletContext.java:417)
        at
org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServ
let.java:855)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:312)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
        at
org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5533)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:685)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3164)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2506)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:238)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:214)
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5533)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:685)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3164)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2506)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:238)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:214)
<Oct 12, 2005 8:57:42 PM GMT> <Error> <HTTP> <101002>
<[ServletContext(id=130706
4407,name=web,context-path=/seal)] Could not deserialize context
attribute
java.io.NotSerializableException:
org.apache.struts.action.RequestProcessor
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compi
led Code))
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compil
ed Code))
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper
.java:91)
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper
.java:66)
        at
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppSer
vletContext.java:417)
        at
org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServ
let.java:855)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:312)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
        at
org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message