Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[] 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 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


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( at org.apache.batik.dom.util.SAXDocumentFactory.startElement( at at at$NSContentDriver.scanRootElementHook( at$ at$ at at at at at at at at$JAXPSAXParser.parse( at org.apache.batik.dom.util.SAXDocumentFactory.createDocument( at org.apache.batik.dom.util.SAXDocumentFactory.createDocument( at org.apache.batik.anim.dom.SAXSVGDocumentFactory.createDocument( at org.eclipse.papyrus.infra.gmfdiag.common.service.shape.AbstractShapeProvider.doGetSVGDocument( ... .

Back to the top