cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane McEneaney" <shane_mcenea...@hotmail.com>
Subject (Cocoon 2.0.4) org.apache.cocoon.ProcessingException: java.lang.NullPointerException
Date Wed, 08 Oct 2003 08:50:19 GMT
Hi there,

I am using Cocoon 2.0.4 with Tomcat 4.0.3 on Windows 2000. Since I've
started using Tomcat as a service I am encountering errors on large XSP
files ONLY when they are first loaded. On the second attempt at requesting
the same page it's fine.I have included the error that appears in the
sitemap and error log. We are about to release our Web application into
production and I'm concerned that the first impression won't be good.
Any help greatly appreciated.

I've tried running this through a debugger but haven't managed to
reproduce the problem yet. The debugger is obviously causing a delay
preventing the problem from re-occurring.

Please note: The problem doesn't occur when I'm running Tomcat off
the command line. It only happens when run as a service.

Thanks in advance,

Shane McEneaney
Ireland


ERROR   (2003-10-07) 16:28.49:551   [sitemap]
(/webportal3/send-make-reservation) Ajp13Processor[8009][4]/sitemap_xmap:
Sitemap
org.apache.cocoon.ProcessingException: java.lang.NullPointerException
 at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator
.java:204)
 at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:202)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:278)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:141)
 at
org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSource.java
:305)
 at
org.apache.cocoon.components.source.SitemapSource.<init>(SitemapSource.java:
206)
 at
org.apache.cocoon.components.source.CocoonSourceFactory.getSource(CocoonSour
ceFactory.java:91)
 at
org.apache.cocoon.components.source.SourceHandlerImpl.getSource(SourceHandle
rImpl.java:176)
 at
org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnvironmen
t.java:368)
 at
org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.java:306
)
 at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:202)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:278)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:141)
 at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:313)
 at
org.apache.cocoon.www.sitemap_xmap.matchN10A2C(C:\WebPortal\Tomcat\work\loca
lhost\webportal3\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:9561)
 at
org.apache.cocoon.www.sitemap_xmap.process(C:\WebPortal\Tomcat\work\localhos
t\webportal3\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3051)
 at
org.apache.cocoon.www.sitemap_xmap.process(C:\WebPortal\Tomcat\work\localhos
t\webportal3\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:2679)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:227)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
 at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
 at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
 at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException

Mime
View raw message