cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <obill...@rennes.jouve.fr>
Subject Problem with cocoon:// xsl generation
Date Thu, 31 Jul 2003 10:06:01 GMT
Hi all,

I have some troubles with a dynamic generated xsl. Here is the sitemap 
snippet :

             <map:match select="requests">
                <map:generate src="..."/>
                <map:transform src="cocoon:/picto-filter.xsl">
                    <map:parameter name="profile" 
value="{session-attr:profile}"/>
                </map:transform>
                <map:serialize type="xml"/>
             </map:match>

             <map:match pattern="picto-filter.xsl">
                <map:generate src="resources/workflow.xconf"/>
                <map:transform 
src="stylesheets/picto-filter-generator.xsl"/>
                <map:serialize type="xml"/>
            </map:match>

And I've got the following stack trace (long... but maybe usefull for 
info) :

Original Exception: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:375)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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: org.apache.cocoon.ProcessingException: Could not read resource file:/E:/Dev/IKA/DocHelp/webapp-dochelp/resources/workflow.xconf: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:151)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	... 30 more
Caused by: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:664)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	... 35 more
Caused by: java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	... 54 more

Original Exception: org.apache.cocoon.ProcessingException: Could not read resource file:/E:/Dev/IKA/DocHelp/webapp-dochelp/resources/workflow.xconf: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:151)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:664)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	... 35 more
Caused by: java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	... 54 more
javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:664)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	... 54 more
---------
java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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)

Original Exception: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:664)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	... 54 more
---------
java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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)


stacktrace

org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon:/picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:307)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:375)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	... 29 more
Caused by: org.apache.cocoon.ProcessingException: Could not read resource file:/E:/Dev/IKA/DocHelp/webapp-dochelp/resources/workflow.xconf: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:151)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	... 30 more
Caused by: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:664)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	... 35 more
Caused by: java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	... 54 more
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:375)
	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:391)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:671)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:505)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:467)
	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	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:162)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:162)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:325)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:626)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	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: org.apache.cocoon.ProcessingException: Could not read resource file:/E:/Dev/IKA/DocHelp/webapp-dochelp/resources/workflow.xconf: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:151)
	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:262)
	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:679)
	at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:415)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImpl.java:389)
	at org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:311)
	... 30 more
Caused by: javax.xml.transform.TransformerException: java.util.EmptyStackException
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:664)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298)
	at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:265)
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:529)
	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.DTDConfiguration.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.xml.impl.JaxpParser.parse(JaxpParser.java:337)
	at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198)
	at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	... 35 more
Caused by: java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:79)
	at org.apache.xalan.xsltc.compiler.Parser.characters(Parser.java:1312)
	at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.characters(TemplatesHandlerImpl.java:316)
	at org.apache.cocoon.xml.ContentHandlerWrapper.characters(ContentHandlerWrapper.java:198)
	at org.apache.cocoon.components.source.impl.EnvironmentChanger.characters(SitemapSource.java:561)
	at org.apache.cocoon.components.sax.XMLTeePipe.characters(XMLTeePipe.java:129)
	at org.apache.xml.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:534)
	at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:1024)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.dispatchCharactersEvents(SAX2DTM2.java:3102)
	at org.apache.xalan.xsltc.dom.SAXImpl.characters(SAXImpl.java:1230)
	at org.apache.xalan.xsltc.dom.DOMAdapter.characters(DOMAdapter.java:346)
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.applyTemplates()
	at picto_filter_generator.transform()
	at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:533)
	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:655)
	... 54 more

but when I replace
<map:transform src="cocoon:/picto-filter.xsl">
by
<map:transform src="http://localhost:8888/picto-filter.xsl">
all works well...
But I don't want to share the xsl pipeline !...

Any idea ?

Many thanks in advance, I'm beginning to crash my head against the 
wall.... :)

-- 
Olivier BILLARD



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


Mime
View raw message