cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Geleyn <david_coc...@yahoo.co.uk>
Subject Re: SourceWritingTransformer results in NPE!
Date Sat, 08 Nov 2003 11:52:05 GMT
 --- Joerg Heinicke <jheinicke@virbus.de> wrote: 
> I don't know about the SourceWritingTransformer and
> its usage, but a NPE is 
> never the users fault in general. If you can provide
> more info like a stack 
> trace, it will be easier for us to investigate.
> 
> Joerg
> 
> David Geleyn wrote:
> > Hi,
> > 
> > I'm trying to replace an attribute with the source
> > writing transformer and I can't get it done. > >
Whatever I try, when I want to replace an
> attribute, a
> > stack trace appears and a null pointer exception
> > occured. 

The stack trace:

org.apache.cocoon.ProcessingException: Failed to
execute pipeline.: java.lang.RuntimeException:
java.lang.NullPointerException

	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:554)

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

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

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:133)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

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

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

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

	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)

	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)

	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)

	at
org.mortbay.http.HttpContext.handle(HttpContext.java:1714)

	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)

	at
org.mortbay.http.HttpContext.handle(HttpContext.java:1664)

	at
org.mortbay.http.HttpServer.service(HttpServer.java:863)

	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)

	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)

	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)

	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)

	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)

	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

Caused by: java.lang.RuntimeException:
java.lang.NullPointerException

	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3364)

	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:427)

	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)

	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)

	at
org.apache.cocoon.generation.RequestGenerator.generate(RequestGenerator.java:221)

	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:548)

	... 55 more

java.lang.RuntimeException:
java.lang.NullPointerException

	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3364)

	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:427)

	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)

	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)

	at
org.apache.cocoon.generation.RequestGenerator.generate(RequestGenerator.java:221)

	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:548)

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

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

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:133)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

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

	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

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

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

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

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

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

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

	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)

	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)

	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)

	at
org.mortbay.http.HttpContext.handle(HttpContext.java:1714)

	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)

	at
org.mortbay.http.HttpContext.handle(HttpContext.java:1664)

	at
org.mortbay.http.HttpServer.service(HttpServer.java:863)

	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)

	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)

	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)

	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)

	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)

	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)


David.

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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


Mime
View raw message