cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RE: Saxon and NullPointerException
Date Mon, 01 Dec 2003 10:25:08 GMT
I have applied the patch to Saxon, documented in http://wiki.cocoondev.org/Edit.jsp?page=DocbookTransformation
, and it continues to fail...


--------
David

-----Mensaje original-----
De: Carmona Perez, David 
Enviado el: lunes, 01 de diciembre de 2003 10:56
Para: Cocoon (E-mail)
Asunto: Saxon and NullPointerException

Hi all,

Does anyone know why I receive a NullPointerException when I place saxon-6.5.3.jar in the
WEB-INF/lib file
in an installation of Cocoon 2.1.2 that used to run ok?

I used the Cocoon bundled with the latest version of Forrest.

Are there any conflicts with Xalan?

Thanks in advance for any help.

Here is a detailed log:

FATAL_E (2003-12-01) 10:53.12:429   [core.xslt-processor] (/index.html) PoolThread-4/TraxErrorHandler:
Error in TraxTransformer: javax.xml.transform.TransformerException: java.lang.NullPointerException
javax.xml.transform.TransformerException: java.lang.NullPointerException
        at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1226)
        at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:436)
        at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
        at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
        at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:168)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:548)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:196)
        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.ContainerNode.invoke(ContainerNode.java:66)
        at org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:128)
        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)
Caused by: java.lang.NullPointerException
        at com.icl.saxon.om.NamePool.allocateCodeForURI(NamePool.java:291)
        at com.icl.saxon.om.NamePool.allocate(NamePool.java:423)
        at com.icl.saxon.ContentEmitter.endElement(ContentEmitter.java:142)
        at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:163)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:159)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
---------
java.lang.NullPointerException
        at com.icl.saxon.om.NamePool.allocateCodeForURI(NamePool.java:291)
        at com.icl.saxon.om.NamePool.allocate(NamePool.java:423)
        at com.icl.saxon.ContentEmitter.endElement(ContentEmitter.java:142)
        at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:163)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:159)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:159)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:159)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:422)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:436)
        at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
        at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
        at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:168)

--------
David


---------------------------------------------------------------------
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