Replies: 2 comments 12 replies
-
Hello @tameergh1, I took a look at your StackTrace and figured out the important information here: There the excel-emitter check the usage of excel-templates which seems to be your first error (it is on crash). I have tested lot of excel export with version 4.15 which works well without you exception. If you have a simple example report without external resources and data access I would be able to debug your report. |
Beta Was this translation helpful? Give feedback.
-
No, I did not |
Beta Was this translation helpful? Give feedback.
-
I'm using an old version = 4.8.0.
After updating to 4.15.0 all the formats work as expected except excel format, I'm getting this error:
" org.eclipse.birt.core.exception.BirtException: Unable to save file ("{}")
at uk.co.spudsoft.birt.emitters.excel.ExcelEmitter.end(ExcelEmitter.java:336)
at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:585)
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:278)
... 6 more
Caused by: java.lang.ExceptionInInitializerError
at org.apache.poi.openxml4j.opc.internal.ContentTypeManager.save(ContentTypeManager.java:429)
at org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:608)
at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1532)
at org.apache.poi.ooxml.POIXMLDocument.write(POIXMLDocument.java:227)
at uk.co.spudsoft.birt.emitters.excel.ExcelEmitter.end(ExcelEmitter.java:331)
... 8 more
Caused by: java.lang.ClassCastException: class org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to class org.apache.xerces.xni.parser.XMLParserConfiguration (org.apache.xerces.parsers.XIncludeAwareParserConfiguration is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader; org.apache.xerces.xni.parser.XMLParserConfiguration is in unnamed module of loader 'app')
at org.apache.xerces.parsers.DOMParser.(Unknown Source)
at org.apache.xerces.parsers.DOMParser.(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at org.apache.poi.util.XMLHelper.newDocumentBuilder(XMLHelper.java:141)
at org.apache.poi.ooxml.util.DocumentHelper.newDocumentBuilder(DocumentHelper.java:47)
at org.apache.poi.ooxml.util.DocumentHelper.(DocumentHelper.java:36)
... 13 more\n]
Caused by: java.lang.ClassCastException: class org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to class org.apache.xerces.xni.parser.XMLParserConfiguration (org.apache.xerces.parsers.XIncludeAwareParserConfiguration is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader ; org.apache.xerces.xni.parser.XMLParserConfiguration is in unnamed module of loader 'app')
at org.apache.xerces.parsers.DOMParser.(Unknown Source)"
What could cause this error ??
Beta Was this translation helpful? Give feedback.
All reactions