Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Unable to Launch from Yed webstart + a Java exception

0 votes
Not sure this is the same as the previous problem with Web launcher...Here is the exception.

java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.sun.javaws.Launcher.executeApplication(Unknown Source)
 at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
 at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
 at com.sun.javaws.Launcher.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/freehep/graphics2d/AbstractVectorGraphics
 at C.B.A.D.Ĝ(Unknown Source)
 at y.B.A.M.ĝ(Unknown Source)
 at B.A.A.B.K.A.ā(Unknown Source)
 at B.A.A.B.K.A.<init>(Unknown Source)
 at B.A.A.B.M.C.ā(Unknown Source)
 at B.A.A.F.G.ā(Unknown Source)
 at B.A.A.F.Q.ā(Unknown Source)
 at B.A.A.F.S$B.ā(Unknown Source)
 at B.A.A.F.S$B.ā(Unknown Source)
 at B.A.A.F.S$B.ā(Unknown Source)
 at B.A.A.F.S$B.endDocument(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endDocument(Unknown Source)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
 at B.A.A.F.S.ā(Unknown Source)
 at B.A.A.Z.G$1.ā(Unknown Source)
 at B.A.A.Z.G.ƕ(Unknown Source)
 at B.A.A.Z.G.Ă(Unknown Source)
 at B.A.A.Z.C.run(Unknown Source)
 at B.A.A.F.ā(Unknown Source)
 at B.A.A.F.Ă(Unknown Source)
 at B.A.A.F.ā(Unknown Source)
 at B.A.A.B.ā(Unknown Source)
 at B.A.A.B.main(Unknown Source)
 ... 9 more
Caused by: java.lang.ClassNotFoundException: org.freehep.graphics2d.AbstractVectorGraphics
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 ... 37 more
asked Nov 12, 2012 in Help by anonymous

1 Answer

0 votes

That seems to be the same problem as the previous report. Could be a problem with Webstart itself. I suggest trying to clear webstart's cache. To do that open start jcontrol (located in the bin directory of your Java installation directory). This should open a window with several tabs. On tab "General" should be section "Temporary Internet Files" with a button "Settings...". Clicking that button opens a dialog which lets you "Delete Files...". Alternatively, using the "View..." button next to "Settings..."  opens the cache viewer which can be used to delete specific files only.

answered Nov 15, 2012 by thomas.behr [yWorks] (122,690 points)
Be careful to not use a local copy of the jnlp file. In that case the clearing of java web start cache won't be sufficient.
I have the same error when using yEd 3.10.2 and 3.11. I launch it with "java -jar /usr/share/yed/yed.jar". Java used is Oracle JDK 1.6.0_45
This error doen't occur with yEd 3.9.2 or older.
What else besides yed.jar is in your /usr/share/yed directory? I.e. what other directories, files, sym links, etc?
Thank you for pointing me in the right direction. The vectorgraphics.jar was not in the same directory. Now it works fine. Thank you
You are welcome. Glad you got it to work. Happy diagramming. :-)
Imprint | Privacy Policy