[
https://issues.apache.org/jira/browse/OFBIZ-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902747#action_12902747
]
Chatree Srichart commented on OFBIZ-3901:
-----------------------------------------
This problem is only SVG problem. You can change the output format to other
format.
To solve the SVG problem is you have to remove these Batik bundle from
framework/birt/lib/platform/plugins directory:
- org.apache.batik.bridge
- org.apache.batik.css
- org.apache.batik.dom
- org.apache.batik.dom.svg
- org.apache.batik.transcoder
- org.apache.batik.util
and put these files (attached files) to the directory:
- org.apache.batik.bridge_1.6.0.v200912221622.jar
- org.apache.batik.css_1.6.0.v200912221622.jar
- org.apache.batik.dom.svg_1.6.0.v200805290154.jar
- org.apache.batik.dom_1.6.0.v200912221622.jar
- org.apache.batik.transcoder_1.6.0.v200805290154.jar
- org.apache.batik.util_1.6.0.v200805290154.jar
I don't know what the exactly problem is because the current Batik bundles
already use the same Apache Batik version of new Batik bundles.
I will figure out the exactly problem later.
Regards,
Chatree Srichart
> Birt charts and PDF generation
> ------------------------------
>
> Key: OFBIZ-3901
> URL: https://issues.apache.org/jira/browse/OFBIZ-3901
> Project: OFBiz
> Issue Type: Sub-task
> Reporter: Erwan de FERRIERES
>
> Got to https://localhost:8443/example/control/chartViewHandler
> Here is the beginning of the stacktrace, if anyone has an idea...
> WARNING: loader constraint violation in interface itable initialization: when
> resolving method
> "org.apache.batik.dom.AbstractDocument.createEvent(Ljava/lang/String;)Lorg/w3c/dom/events/Event;"
> the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
> class, org/apache/batik/dom/svg/SVGOMDocument, and the class loader (instance
> of <bootloader>) for interface org/w3c/dom/events/DocumentEvent have
> different Class objects for the type org/w3c/dom/events/Event used in the
> signature
> java.lang.LinkageError: loader constraint violation in interface itable
> initialization: when resolving method
> "org.apache.batik.dom.AbstractDocument.createEvent(Ljava/lang/String;)Lorg/w3c/dom/events/Event;"
> the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
> class, org/apache/batik/dom/svg/SVGOMDocument, and the class loader (instance
> of <bootloader>) for interface org/w3c/dom/events/DocumentEvent have
> different Class objects for the type org/w3c/dom/events/Event used in the
> signature
> at org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown
> Source)
> at org.apache.batik.dom.util.SAXDocumentFactory.startElement(Unknown
> Source)
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.