forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject non-descript cocoon error
Date Sun, 22 Jan 2006 20:01:04 GMT
Does this mean anything to anyone?  It happens when I include a
transform in the pipeline with an xpathdirectorygenerator.  I'm sure
I'm doing something dumb but "Internal Cocoon Problem" doesn't help
much in determing what that something is.  I can return the raw xml if
I omit the transform.  I can transform the xml from the command line
without problem. When I put the two together this is the stack trace.
Thanks,
--tim

ERROR   (2006-01-22) 14:52.14:532   [access] (/gallery/index.xml)
PoolThread-4/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to process pipeline
	at <map:serialize type="xml"> -
file:/C:/src/apache-forrest-trunk-s/build/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap:41:36
	at <map:generate type="xpathdirectory"> -
file:/C:/src/apache-forrest-trunk-s/build/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap:33:81
	at <map:serialize type="xml"> -
file:/C:/src/apache-forrest-trunk-s/build/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap:47:36
	at <map:transform> -
file:/C:/src/apache-forrest-trunk-s/build/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap:46:69
	at <map:generate> -
file:/C:/src/apache-forrest-trunk-s/build/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap:45:66
	at <map:mount> -
file:/C:/src/apache-forrest-trunk-s/plugins/org.apache.forrest.plugin.input.PhotoGallery/build/tmp/input.xmap:38:146
	at <map:mount> -
file:/C:/src/apache-forrest-trunk-s/main/webapp/forrest.xmap:223:46
	at <map:mount> -
file:/C:/src/apache-forrest-trunk-s/main/webapp/sitemap.xmap:485:74
	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:144)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:894)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:271)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:722)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:347)
	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:97)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:276)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:259)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:137)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:557)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:364)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)
Caused by: java.lang.RuntimeException
	at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3493)
	at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at org.apache.cocoon.environment.internal.EnvironmentChanger.endDocument(EnvironmentStack.java:119)
	at org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:67)
	at org.apache.cocoon.generation.DirectoryGenerator.generate(DirectoryGenerator.java:269)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:225)

Mime
View raw message