Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Diagrams with SVG in latest photon broken

Dear all,

after an update of my photon installation - including today's nightly version of Papyrus, all diagrams containing SVG icons are broken (on a KDE/ubuntu host OS). The behavior is not consistent depending on whether a diagram is opened in the first instance or in a 2nd (debug) instance. In the first instance, SVG shapes are simply not shown, but there is no error. In the second, the exception below is produced and elements having a shape are not shown at all.

Did someone else notice the problem? It might be similar as described in the last comment from https://bugs.eclipse.org/bugs/show_bug.cgi?id=421553 i.e. a "bad" version of apache.batik is taken from the JRE? (but problem occurs with recent Java 10 as well as with Java 8)

Best regards

Ansgar

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/loader/EquinoxClassLoader) of the current class, org/apache/batik/anim/dom/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.anim.dom.SVGDOMImplementation.createDocument(SVGDOMImplementation.java:139) at org.apache.batik.dom.util.SAXDocumentFactory.startElement(SAXDocumentFactory.java:641) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:613) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3132) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:852) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:453) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:357) at org.apache.batik.anim.dom.SAXSVGDocumentFactory.createDocument(SAXSVGDocumentFactory.java:202) at org.eclipse.papyrus.infra.gmfdiag.common.service.shape.AbstractShapeProvider.doGetSVGDocument(AbstractShapeProvider.java:264) ... .



Back to the top