cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iain McNally" <iain.mcna...@changingworlds.com>
Subject [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!
Date Mon, 05 Jan 2004 17:06:57 GMT
Hi,
I've been using coocon for some time now and everything usually work out ok
but I'm having a major issue at the moment with sub-sitemaps.
I have a number of subsitemaps configured in the main sitemap, and
EVERYRTHING  works perfectly up until I edit and save the main sitemap.Once
I request the page again the error below is thrown.

org.apache.cocoon.ProcessingException: Exception in creating Transform
Handler: java.lang.NullPointerException
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:295)
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:239)
 at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:
298)
 at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:215)
 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:317)
 at
org.apache.cocoon.www.test.sitemap_xmap.matchd0e123(/home/o2uk/jakarta-tomca
t-4.0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/tes
t/sitemap_xmap.java:1029)
 at
org.apache.cocoon.www.test.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.
0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/test/si
temap_xmap.java:607)
 at
org.apache.cocoon.www.test.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.
0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/test/si
temap_xmap.java:525)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.www.sitemap_xmap.matchd0e610(/home/o2uk/jakarta-tomcat-4.0
.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/sitemap_
xmap.java:4646)
 at
org.apache.cocoon.www.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.0.6/w
ork/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/sitemap_xmap
.java:3821)
 at
org.apache.cocoon.www.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.0.6/w
ork/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/sitemap_xmap
.java:3709)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
 at
com.changingworlds.nav.devicemanager.DeviceManager.service(DeviceManager.jav
a:92)
 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:2347)
 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.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
 at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTProcess
orImpl.java:379)
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:247)
 ... 51 more
java.lang.NullPointerException
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTProcess
orImpl.java:379)
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:247)
 at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:239)
 at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:
298)
 at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:215)
 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:317)
 at
org.apache.cocoon.www.test.sitemap_xmap.matchd0e123(/home/o2uk/jakarta-tomca
t-4.0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/tes
t/sitemap_xmap.java:1029)
 at
org.apache.cocoon.www.test.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.
0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/test/si
temap_xmap.java:607)
 at
org.apache.cocoon.www.test.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.
0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/test/si
temap_xmap.java:525)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.www.sitemap_xmap.matchd0e610(/home/o2uk/jakarta-tomcat-4.0
.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/sitemap_
xmap.java:4646)
 at
org.apache.cocoon.www.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.0.6/w
ork/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/sitemap_xmap
.java:3821)
 at
org.apache.cocoon.www.sitemap_xmap.process(/home/o2uk/jakarta-tomcat-4.0.6/w
ork/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/sitemap_xmap
.java:3709)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
 at
com.changingworlds.nav.devicemanager.DeviceManager.service(DeviceManager.jav
a:92)
 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:2347)
 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.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
 at java.lang.Thread.run(Thread.java:536)

I'm afraid I'm not too familiar with the inner workings of cocoon and
haven't found much help on this so any help would be greatly appreciated.

Iain


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


Mime
View raw message