Error importing SVG

Hi, I just updated the software to this version:

Ignition Platform 7.4.0-rc1 (b800)
Vision Module 6.4.0 (b428)
Mobile Module 1.4.0 (b88)
Reporting Module 1.4.0 (b78)
ActiveX Module 2.4.0 (b70)

Every time I try to import an SVG file using drag&drop into the designer, I receive this error:
[i]
NoSuchMethodError: org.apache.batik.dom.svg.SVGOMDocument.isSVG12()Z

Ignition v7.4.0-rc1 (b800)
Java: Sun Microsystems Inc. 1.6.0_22[/i]

before updating to this version it worked fine.
Anybody have an idea of the reason?

thank you

This seems to be working fine for me in RC3 - can you update and try again?

same error…
in 7.3 i was able to do that.

Version 7.4.1 (b906)
Java Version Sun Microsystems Inc. 1.6.0_24

Any more information regarding this? I have 7.4 I tried dragging and dropping also. I am starting to think that my issue is memory related or at least gpu related. My svg is about 7 megs. I tried to drag and drop and nothing has happened yet other than an hourglass that has not stoppped
Any manual links for reading that are relavant to this topic?
I would really like to make client apps that can zoom in on these graphics…
I posted a while back and the response was that clients cannot zoom?
Is this possible at all in the future?

You probably have a jar from another application that is conflicting with our SVG libraries. Check the folder:

c:\program files\java\jre6\lib\ext

or whatever you folder is for your Java installation. What files do you have in that directory? If you see something relating to SVG remove it and try launching the designer again.

Error importing SVG:

[code]java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SVGOMDocument.isSVG12()Z
at com.inductiveautomation.factorypmi.designer.workspace.DropHandler$SVGImporter.parseSvg(DropHandler.java:303)
at com.inductiveautomation.factorypmi.designer.workspace.DropHandler$SVGImporter.run(DropHandler.java:327)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.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)

Ignition v7.4.2 (b953)
Java: Sun Microsystems Inc. 1.6.0_31
[/code]

in the java lib\ext path i have
dnsns.jar
localedata.jar
sunjce_provider.jar
:confused:

Somewhere, somehow, another version of Batik is being loaded into Java before our stuff loads. We just walked another customer through this over the phone. Make sure you’re looking in the correct version of java - the version that is running your client. There may be multilpe versions installed. Also look for a folder named “endorsed”.

no "endorsed" dir here.

we used another software with Batik, but it was launched from a copied directory: it was not installed... no library in the Java path contains Batik.
i tried emptying the java cache but still error.
should i check the server's Java dirs?

Maybe you should just blow out all installed Java versions and re-install a new one.

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

SVG import OK! :thumb_left:

tnx

I am getting a similar error and I did everything marioquark did

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

and still getting the same error:

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)