SVG Import Java Error

#1

I am getting this error and I already did the following:

(java cache cleaned…
any java package removed…
latest java reinstalled…
ign designer reloaded)

Exception in thread “AWT-EventQueue-2” java.lang.ClassCastException: org.apache.batik.dom.svg.SVGOMDocument cannot be cast to org.apache.batik.anim.dom.SVGOMDocument
at org.apache.batik.bridge.BridgeContext.setDocument(BridgeContext.java:444)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:54)
at com.inductiveautomation.factorypmi.designer.workspace.DropHandler$SvgImporter.parseSvg(DropHandler.java:358)
at com.inductiveautomation.factorypmi.designer.workspace.DropHandler$SvgImporter.run(DropHandler.java:373)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

0 Likes