cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <j.re...@hippo.nl>
Subject RE: Error occured in FOP while migrating from cocoon 2.0 to 2.1
Date Mon, 19 Apr 2004 07:24:55 GMT
Hi,

as your stacktrace states:

"Could not find variable with the name of body.font.family"

Did you define your variable correct?


Greetings,

Jeroen



-----Original Message-----
From: Arun Prasath [mailto:arunfromin@rediffmail.com]
Posted At: Monday, April 19, 2004 9:14 AM
Posted To: Cocoon User List
Conversation: Error occured in FOP while migrating from cocoon 2.0 to 2.1
Subject: Error occured in FOP while migrating from cocoon 2.0 to 2.1


I have a xsl file which is working fine in cocoon 2.0. But the same is not working when I
port it to 2.1

The following error occured

Internal Server Error
Message: Unable to get transformer handler for file:/C:/Tools/jakarta-tomcat-5.0.19/webapps/cocoon/test/testxsl.xsl

Description: org.apache.cocoon.ProcessingException: Unable to get transformer handler for
file:/C:/Tools/jakarta-tomcat-5.0.19/webapps/cocoon/test/testxsl.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException:
Exception in creating Transform Handler

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

request-uri

/cocoon/test/testxsl_test.fo

full exception chain stacktrace

Original Exception: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating
Transform Handler
     at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:385)
     at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:333)
     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:410)
     at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:652)
     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:541)
     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:499)
     at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:155)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
     at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312)
     at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
     at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312)
     at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
     at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
     at java.lang.Thread.run(Thread.java:479)

Original Exception: org.apache.xml.utils.WrappedRuntimeException: Could not find variable
with the name of body.font.family
     at org.apache.xpath.operations.Variable.fixupVariables(Variable.java:183)
     at org.apache.xpath.XPath.fixupVariables(XPath.java:111)
     at org.apache.xalan.templates.ElemValueOf.compose(ElemValueOf.java:218)
     at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:358)
     at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:363)
     at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:363)
     at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:363)
     at org.apache.xalan.templates.StylesheetRoot.recompose(StylesheetRoot.java:338)
     at org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHandler.java:481)
     at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
     at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
     at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
     at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
     at org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:162)
     at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:401)
     at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:315)
     at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:333)
     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:410)
     at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:652)
     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:541)
     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:499)
     at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:155)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
     at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312)
     at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
     at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)
     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
     at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371)
     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312)
     at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
     at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
     at java.lang.Thread.run(Thread.java:479)





 

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


Mime
View raw message