by patell.pranav » Thu Jun 18, 2015 3:47 am
ERROR [org.docx4j.XmlUtils] (http-/0.0.0.0:8080-6) Cannot convert argument/return type in call to method 'org.docx4j.convert.out.fo.XsltFOFunctions.createBlockForPPr(reference, node-set, string, result-tree)': javax.xml.transform.TransformerException: Cannot convert argument/return type in call to method 'org.docx4j.convert.out.fo.XsltFOFunctions.createBlockForPPr(reference, node-set, string, result-tree)'
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.passErrorsToListener(TransformerFactoryImpl.java:661)
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:836)
at __redirected.__TransformerFactory.newTemplates(__TransformerFactory.java:137) [jboss-modules.jar:1.2.0.CR1]
at org.docx4j.XmlUtils.getTransformerTemplate(XmlUtils.java:925) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.loadDefaultTemplates(AbstractXsltExporterDelegate.java:98) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getDefaultTemplate(AbstractXsltExporterDelegate.java:85) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getTemplates(AbstractXsltExporterDelegate.java:76) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.process(AbstractXsltExporterDelegate.java:64) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:63) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:1) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:78) [docx4j-3.2.0.jar:]
at org.docx4j.Docx4J.toFO(Docx4J.java:460) [docx4j-3.2.0.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:124) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:70) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:11) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:86) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:53) [Plutext-Enterprise-3.2.0.4.jar:]
ERROR [org.docx4j.XmlUtils] (http-/0.0.0.0:8080-6) Cannot convert argument/return type in call to method 'org.docx4j.convert.out.fo.XsltFOFunctions.createBlockForRPr(reference, node-set, node-set, result-tree)': javax.xml.transform.TransformerException: Cannot convert argument/return type in call to method 'org.docx4j.convert.out.fo.XsltFOFunctions.createBlockForRPr(reference, node-set, node-set, result-tree)'
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.passErrorsToListener(TransformerFactoryImpl.java:661)
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:836)
at __redirected.__TransformerFactory.newTemplates(__TransformerFactory.java:137) [jboss-modules.jar:1.2.0.CR1]
at org.docx4j.XmlUtils.getTransformerTemplate(XmlUtils.java:925) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.loadDefaultTemplates(AbstractXsltExporterDelegate.java:98) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getDefaultTemplate(AbstractXsltExporterDelegate.java:85) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getTemplates(AbstractXsltExporterDelegate.java:76) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.process(AbstractXsltExporterDelegate.java:64) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:63) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:1) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:78) [docx4j-3.2.0.jar:]
at org.docx4j.Docx4J.toFO(Docx4J.java:460) [docx4j-3.2.0.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:124) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:70) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:11) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:86) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:53) [Plutext-Enterprise-3.2.0.4.jar:]
ERROR [org.docx4j.XmlUtils] (http-/0.0.0.0:8080-6) Cannot convert argument/return type in call to method 'org.docx4j.convert.out.common.XsltCommonFunctions.notImplemented(reference, node-type, string)': javax.xml.transform.TransformerException: Cannot convert argument/return type in call to method 'org.docx4j.convert.out.common.XsltCommonFunctions.notImplemented(reference, node-type, string)'
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.passErrorsToListener(TransformerFactoryImpl.java:661)
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:836)
at __redirected.__TransformerFactory.newTemplates(__TransformerFactory.java:137) [jboss-modules.jar:1.2.0.CR1]
at org.docx4j.XmlUtils.getTransformerTemplate(XmlUtils.java:925) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.loadDefaultTemplates(AbstractXsltExporterDelegate.java:98) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getDefaultTemplate(AbstractXsltExporterDelegate.java:85) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getTemplates(AbstractXsltExporterDelegate.java:76) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.process(AbstractXsltExporterDelegate.java:64) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:63) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:1) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:78) [docx4j-3.2.0.jar:]
at org.docx4j.Docx4J.toFO(Docx4J.java:460) [docx4j-3.2.0.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:124) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:70) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:11) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:86) [Plutext-Enterprise-3.2.0.4.jar:]
at com.plutext.docx.toc.TocGenerator.generateToc(TocGenerator.java:53) [Plutext-Enterprise-3.2.0.4.jar:]
multiple times similar to above ecxeption repeats...seems the root cause is below exceptions...
Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:832)
at __redirected.__TransformerFactory.newTemplates(__TransformerFactory.java:137) [jboss-modules.jar:1.2.0.CR1]
at org.docx4j.XmlUtils.getTransformerTemplate(XmlUtils.java:925) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.loadDefaultTemplates(AbstractXsltExporterDelegate.java:98) [docx4j-3.2.0.jar:]
Caused by: org.docx4j.openpackaging.exceptions.Docx4JException: Exception exporting package
at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:96) [docx4j-3.2.0.jar:]
at org.docx4j.Docx4J.toFO(Docx4J.java:460) [docx4j-3.2.0.jar:]
at com.plutext.docx.toc.TocGenerator.a(TocGenerator.java:124) [Plutext-Enterprise-3.2.0.4.jar:]
... 159 more
Caused by: org.docx4j.openpackaging.exceptions.Docx4JException: Exception loading default template "org/docx4j/convert/out/fo/docx2fo.xslt", Could not compile stylesheet
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.loadDefaultTemplates(AbstractXsltExporterDelegate.java:102) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getDefaultTemplate(AbstractXsltExporterDelegate.java:85) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.getTemplates(AbstractXsltExporterDelegate.java:76) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.process(AbstractXsltExporterDelegate.java:64) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:63) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractWmlExporter.process(AbstractWmlExporter.java:1) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:78) [docx4j-3.2.0.jar:]
... 161 more
Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:832)
at __redirected.__TransformerFactory.newTemplates(__TransformerFactory.java:137) [jboss-modules.jar:1.2.0.CR1]
at org.docx4j.XmlUtils.getTransformerTemplate(XmlUtils.java:925) [docx4j-3.2.0.jar:]
at org.docx4j.convert.out.common.AbstractXsltExporterDelegate.loadDefaultTemplates(AbstractXsltExporterDelegate.java:98) [docx4j-3.2.0.jar:]
... 167 more
My application runs under JBOSS and i can see xalan-2.7.1.jbossorg-1.jar jar present under jboss module.