You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by qMax <qm...@mediasoft.ru> on 2005/06/06 15:06:45 UTC
[1.2.4-dev] exception in menu generation
I tried to install just checked out revision 180203.
in default publication, when entering authoring area, i get:
org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://lenya-page/default/info/default.xml?doctype=homepage: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:318)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
... more
Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:336)
at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:310)
... 72 more
Caused by: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:423)
at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:359)
at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:276)
... 73 more
This seems to be triggered in menu2xslt.xsl, at:
<xsl:template match="xhtml:*">
<xsl:element name="{local-name()}">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
</xsl:template>
But I cannot understand what exactly causes exception.
If to replace xsl:element with xsl:copy everything goes ok.
Do i have something completely wrong in mind ?
Or maybe in enviroment:
cocoon-2.1.7 with all supplied jars,
xalan-2.6.1-dev-20041008T0304,
xerces-2.6.2,
what else to check ?
--
qMax
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org