Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
2.4Dx
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
6956
Description
When running the command-line utility org.apache.xalan.xslt.Process or when using Xalan from
within a Cocoon served site the following error
occurs:
org.apache.cocoon.ProcessingException: Exception in creating Transform
Handler: java.lang.ClassCastException:
org.apache.xalan.res.XSLTErrorResources_it
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:223)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:153)
at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:266)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:167)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:238)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:276)
at
org.apache.cocoon.www.resianica.sitemap_xmap.matchN1002E(sitemap_xmap.java:553)
at
org.apache.cocoon.www.resianica.sitemap_xmap.process(sitemap_xmap.java:384)
at
org.apache.cocoon.www.resianica.sitemap_xmap.process(sitemap_xmap.java:320)
at
org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.www.sitemap_xmap.matchN10292(sitemap_xmap.java:3344)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2488)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2432)
at
org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
at
org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at
java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.ClassCastException:
org.apache.xalan.res.XSLTErrorResources_it
at
org.apache.xalan.res.XSLMessages.createMessage(XSLMessages.java:286)
at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:976)
at
org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:324)
at
org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:192)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:658)
at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:182)
at
org.apache.cocoon.components.source.URLSource.toSAX(URLSource.java:331)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:183)
...
50 more
java.lang.ClassCastException:
org.apache.xalan.res.XSLTErrorResources_it
at
org.apache.xalan.res.XSLMessages.createMessage(XSLMessages.java:286)
at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:976)
at
org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:324)
at
org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:192)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:658)
at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:182)
at
org.apache.cocoon.components.source.URLSource.toSAX(URLSource.java:331)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:183)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:153)
at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:266)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:167)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:238)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:276)
at
org.apache.cocoon.www.resianica.sitemap_xmap.matchN1002E(sitemap_xmap.java:553)
at
org.apache.cocoon.www.resianica.sitemap_xmap.process(sitemap_xmap.java:384)
at
org.apache.cocoon.www.resianica.sitemap_xmap.process(sitemap_xmap.java:320)
at
org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.www.sitemap_xmap.matchN10292(sitemap_xmap.java:3344)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2488)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2432)
at
org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
at
org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at
java.lang.Thread.run(Thread.java:536)
I guess this is the same bug as bug #6573