You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Gopalakrishnan, Jayesh" <Ja...@schwab.com> on 2004/01/09 20:58:55 UTC
TILES_PROCESSOR - couldn't deserialize - NullPointerException
hello all,
I am running into these intermittent exceptions with Struts 1.1 on
Linux with weblogic 8.1 server.
The application works fine 95% of the time.....but then this exception
shows up & is a show-stopper.
We haven't been able to establish a pattern to this.. yet.
Doing a tiles "reload" with
"org.apache.struts.tiles.actions.ReloadDefinitionsAction" brings it back to
life...
Any help is appreciated.
thx
:jayash
<Jan 6, 2004 8:39:01 PM EST> <Error> <HTTP> <BEA-101020>
<[ServletContext(id=158851062,name=stap-portal,context-path=/stap-portal)]
Servlet failed with Exception
java.lang.NullPointerException
at
org.apache.struts.action.RequestProcessor.getServletContext()Ljavax.servlet.
ServletContext;(RequestProcessor.java:1123)
at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Ljava.l
ang.String;ZLjavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpS
ervletResponse;)Z(TilesRequestProcessor.java:181)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ljavax.se
rvlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.a
pache.struts.config.ForwardConfig;)V(TilesRequestProcessor.java:303)
at
org.apache.struts.action.RequestProcessor.processActionForward(Ljavax.servle
t.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.apach
e.struts.action.ActionForward;)V(RequestProcessor.java:401)
at
org.apache.struts.action.RequestProcessor.process(Ljavax.servlet.http.HttpSe
rvletRequest;Ljavax.servlet.http.HttpServletResponse;)V(RequestProcessor.jav
a:279)
at
org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServl
etRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:1420
)
at
org.apache.struts.action.ActionServlet.doPost(Ljavax.servlet.http.HttpServle
tRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:520)
at
javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletReques
t;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
<<SUPPRESSED>>
<Jan 6, 2004 8:39:01 PM EST> <Error> <HTTP> <BEA-101309>
<[ServletContext(id=158851062,name=stap-portal,context-path=/stap-portal)]
could not deserialize the context attribute
"org.apache.struts.action.REQUEST_PROCESSOR"
java.io.NotSerializableException:
org.apache.struts.tiles.TilesRequestProcessor
at
java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown
Source)
at
java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown Source)
at
weblogic.servlet.internal.AttributeWrapper.getObject(Z)Ljava.lang.Object;(At
tributeWrapper.java:95)
at
weblogic.servlet.internal.AttributeWrapper.getObject()Ljava.lang.Object;(Att
ributeWrapper.java:67)
at
weblogic.servlet.internal.WebAppServletContext.getAttribute(Ljava.lang.Strin
g;)Ljava.lang.Object;(WebAppServletContext.java:637)
at
org.apache.struts.action.ActionServlet.getRequestProcessor(Lorg.apache.strut
s.config.ModuleConfig;)Lorg.apache.struts.action.RequestProcessor;(ActionSer
vlet.java:847)
at
org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServl
etRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:1420
)
at
org.apache.struts.action.ActionServlet.doPost(Ljavax.servlet.http.HttpServle
tRequest
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org