cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
Subject RE: Coocoon NullPointerException Version 1.5
Date Wed, 27 Apr 2011 11:54:09 GMT
The fact that you are not able to reproduce this on your test environment does in some way
already give some hint.  Although I must admit some problems (concurrency, memory, ...) only
reveal themselves on production environments.  

A few other questions:
- are you using the same setup on test and prod (application container + version, OS, ...)
- are there any dependencies which could cause a nullpointer (missing property, perhaps missing
value in database)
- is the exact same war file deployed AS IS from TEST to PROD?
- is the app interfacing with other systems that could behave differently?

...

>From the stacktrace I can't really make out a lot so I think it makes sense to analyze
what that xsp is doing and check at what line in the xsp the exception is thrown to get more
clues.

Kind regards,
Robby


-----Oorspronkelijk bericht-----
Van: Johnson, Samuel (EXT-Wipro Infotech - FI) [mailto:samuel.johnson.ext@nsn.com]
Verzonden: wo 27-4-2011 13:33
Aan: users@cocoon.apache.org
Onderwerp: RE: Coocoon NullPointerException Version 1.5
 
Hi Robby,
Thanks for the reply. This is not possible as it's a live server and in
our test environment we are not able to reproduce it. We are not sure of
the cause. 

Thanks and Regards
Sam
|NSN-IT|Mob +91-9611077622|VOIP 8243303|


-----Original Message-----
From: Natrayan, Aarthi (EXT-Wipro Infotech - FI) 
Sent: Wednesday, April 27, 2011 4:30 PM
To: Johnson, Samuel (EXT-Wipro Infotech - FI)
Subject: FW: Coocoon NullPointerException Version 1.5

Hi Sam,

Have you received the below mail??
Your mail id is not in this distribution list. So I just forwarded to u.

Regards,
Aarthi.


-----Original Message-----
From: ext Robby Pelssers [mailto:robby.pelssers@ciber.com] 
Sent: Wednesday, April 27, 2011 4:03 PM
To: users@cocoon.apache.org; users@cocoon.apache.org
Cc: Natrayan, Aarthi (EXT-Wipro Infotech - FI); Feuereck, Anton (NSN -
DE/Munich)
Subject: RE: Coocoon NullPointerException Version 1.5


First question that comes to my mind: Would it be possible for you to
test on a plain tomcat instance and see if you get the same nullpointer?
If it works fine there you already have some idea on where to continue
the investigation.

Robby

-----Oorspronkelijk bericht-----
Van: Johnson, Samuel (EXT-Wipro Infotech - FI)
[mailto:samuel.johnson.ext@nsn.com]
Verzonden: wo 27-4-2011 12:18
Aan: users@cocoon.apache.org
CC: Natrayan, Aarthi (EXT-Wipro Infotech - FI); Feuereck, Anton (NSN -
DE/Munich)
Onderwerp: Coocoon NullPointerException Version 1.5
 
Hi Team,

We are using cocoon framework for our project with JBoss as our servlet
container. Intermittently we are getting the below exception. Can you
please let me know if it's a known bug or if there is any work-around
for this issue? Our Environment is as follows

 

Server: JBoss 

Framework: Cocoon 1.5

 

Exception StackTrace

ExeptionText=java.lang.NullPointerException
org.apache.cocoon.www.file_.pvol1.home1.lmstask.jboss.server.default_.__
.tmp.deploy.tmp3911224041241398318lms_exp_war.cpm.structure.explorer.exp
lorer_xsp.generate(org.apache.cocoon.www.file_.pvol1.home1.lmstask.jboss
.server.default_.__.tmp.deploy.tmp3911224041241398318lms_exp_war.cpm.str
ucture.explorer.explorer_xsp:959)

URI=/lms/cpm/structure/explorer/explorer.xsp

java.lang.NullPointerException

       at
org.apache.cocoon.www.file_.pvol1.home1.lmstask.jboss.server.default_.__
.tmp.deploy.tmp3911224041241398318lms_exp_war.cpm.structure.explorer.exp
lorer_xsp.generate(org.apache.cocoon.www.file_.pvol1.home1.lmstask.jboss
.server.default_.__.tmp.deploy.tmp3911224041241398318lms_exp_war.cpm.str
ucture.explorer.explorer_xsp:959)

       at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGe
nerator.java:228)

       at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
XMLPipeline(AbstractProcessingPipeline.java:579)

       at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)

       at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:481)

       at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:144)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:69)

       at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(Sel
ectNode.java:103)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:47)

       at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(Matc
hNode.java:108)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:69)

       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:143)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:69)

       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:93)

       at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:235)

       at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:177)

       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:254)

       at org.apache.cocoon.Cocoon.process(Cocoon.java:699)

       at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)

       at
lmsWeb.CocoonServletWrapper.service(CocoonServletWrapper.java:113)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:654)

       at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:557)

       at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:481)

       at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja
va:968)

       at
org.apache.jsp.cpm.structure.explorer.explorer_jsp._jspService(explorer_
jsp.java:189)

       at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:373)

       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)

       at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.SearchFilter.doFilter(SearchFilter.java:73)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
de.siemens.lms.et.AccessHandlerFilter.doFilterHttp(AccessHandlerFilter.j
ava:51)

       at
de.siemens.lms.et.AccessHandlerFilter.doFilter(AccessHandlerFilter.java:
36)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.CheckSessionFilter.filter(CheckSessionFilter.java:69)

       at lmsWeb.FilterBase.doFilter(FilterBase.java:57)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.DataContainerFilter.filter(DataContainerFilter.java:54)

       at lmsWeb.FilterBase.doFilter(FilterBase.java:57)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
compressionFilters.CompressionFilter.doFilter(CompressionFilter.java:227
)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.DbConnectionFilter.filter(DbConnectionFilter.java:99)

       at lmsWeb.FilterBase.doFilter(FilterBase.java:57)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:230)

       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)

       at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:179)

       at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:524)

       at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:84)

       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)

       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)

       at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConn
ectionValve.java:157)

       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
62)

       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)

       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)

       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

       at java.lang.Thread.run(Thread.java:619)

 

2011-04-26 09:50:57,638 INFO  [exceptionWrapper] finally of server page
- dc=dataContainer.ExplorerContainer@850c11

2011-04-26 09:50:58,214 INFO  [STDOUT] selectionIndicator

2011-04-26 09:51:00,244 INFO  [STDOUT] explorer

2011-04-26 09:51:00,298 INFO  [exceptionWrapper] prod------4451 - 42 - 0
0 - 6833466528

2011-04-26 09:51:00,299 INFO  [exceptionWrapper] finally of server page
- dc=dataContainer.DatesContainer@12b8e11

2011-04-26 09:51:00,332 ERROR [exceptionWrapper] catch in server page

java.lang.NullPointerException

       at
org.apache.cocoon.www.file_.pvol1.home1.lmstask.jboss.server.default_.__
.tmp.deploy.tmp3911224041241398318lms_exp_war.cpm.structure.explorer.exp
lorer_xsp.generate(org.apache.cocoon.www.file_.pvol1.home1.lmstask.jboss
.server.default_.__.tmp.deploy.tmp3911224041241398318lms_exp_war.cpm.str
ucture.explorer.explorer_xsp:959)

       at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGe
nerator.java:228)

       at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
XMLPipeline(AbstractProcessingPipeline.java:579)

       at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)

       at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:481)

       at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:144)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:69)

       at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(Sel
ectNode.java:103)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:47)

       at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(Matc
hNode.java:108)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:69)

       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:143)

       at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:69)

       at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:93)

       at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:235)

       at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:177)

       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:254)

       at org.apache.cocoon.Cocoon.process(Cocoon.java:699)

       at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)

       at
lmsWeb.CocoonServletWrapper.service(CocoonServletWrapper.java:113)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:654)

       at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:557)

       at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:481)

       at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja
va:968)

       at
org.apache.jsp.cpm.structure.explorer.explorer_jsp._jspService(explorer_
jsp.java:189)

       at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:373)

       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)

       at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.SearchFilter.doFilter(SearchFilter.java:73)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
de.siemens.lms.et.AccessHandlerFilter.doFilterHttp(AccessHandlerFilter.j
ava:51)

       at
de.siemens.lms.et.AccessHandlerFilter.doFilter(AccessHandlerFilter.java:
36)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.CheckSessionFilter.filter(CheckSessionFilter.java:69)

       at lmsWeb.FilterBase.doFilter(FilterBase.java:57)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.DataContainerFilter.filter(DataContainerFilter.java:54)

       at lmsWeb.FilterBase.doFilter(FilterBase.java:57)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
compressionFilters.CompressionFilter.doFilter(CompressionFilter.java:227
)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at lmsWeb.DbConnectionFilter.filter(DbConnectionFilter.java:99)

       at lmsWeb.FilterBase.doFilter(FilterBase.java:57)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:230)

       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)

       at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:179)

       at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:524)

       at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:84)

       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)

       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)

       at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConn
ectionValve.java:157)

       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
62)

       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)

       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)

       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

       at java.lang.Thread.run(Thread.java:619)

 

 

Thanks and Regards

Sam

|NSN-IT|Mob +91-9611077622|VOIP 8243303|

 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message