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.

Categories

yEd crashes consistently, unusable ATM

0 votes
This is my first time working with yEd. I've created a reasonably complex graph, nothing special IMO. There's a specific node with 7 edges that causes the program to crash consistenly if I move it. The stack trace is:

java.lang.ArrayIndexOutOfBoundsException
    at sun.java2d.pisces.Dasher.goTo(Dasher.java:151)
    at sun.java2d.pisces.Dasher.somethingTo(Dasher.java:244)
    at sun.java2d.pisces.Dasher.quadTo(Dasher.java:548)
    at sun.java2d.pipe.RenderingEngine.feedConsumer(RenderingEngine.java:356)
    at sun.java2d.pisces.PiscesRenderingEngine.pathTo(PiscesRenderingEngine.java:484)
    at sun.java2d.pisces.PiscesRenderingEngine.strokeTo(PiscesRenderingEngine.java:363)
    at sun.java2d.pisces.PiscesRenderingEngine.strokeTo(PiscesRenderingEngine.java:163)
    at sun.java2d.pisces.PiscesRenderingEngine.getAATileGenerator(PiscesRenderingEngine.java:562)
    at sun.java2d.pipe.AAShapePipe.renderPath(AAShapePipe.java:151)
    at sun.java2d.pipe.AAShapePipe.draw(AAShapePipe.java:64)
    at sun.java2d.pipe.PixelToParallelogramConverter.draw(PixelToParallelogramConverter.java:148)
    at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2392)
    at y.I.u.paint(Unknown Source)
    at y.I.Y.Ą(Unknown Source)
    at y.I.Y.ā(Unknown Source)
    at y.I.Y.ā(Unknown Source)
    at y.I.CA.Ą(Unknown Source)
    at y.I.CA.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(JComponent.java:1029)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5138)
    at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1188)
    at javax.swing.JComponent._paintImmediately(JComponent.java:5086)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4896)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:783)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:735)
    at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
    at javax.swing.RepaintManager.access$700(RepaintManager.java:58)
    at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1593)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
    at java.awt.EventQueue.access$000(EventQueue.java:96)
    at java.awt.EventQueue$1.run(EventQueue.java:608)
    at java.awt.EventQueue$1.run(EventQueue.java:606)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
 

I've reported the error & included the graph via the error handling dialog. At this point the SW is unusable due to this error. Is there a dev version I could test to see if the problem is fixed, perhaps? Or am I forced to look for a different SW package to continue with my work?

Thanks.
in Help by (140 points)

1 Answer

0 votes

That is NOT a yEd error but an OpenJDK error. Do not use OpenJDK, but the official Oracle Java (version 1.6.0_32 as of this writing).

by [yWorks] (161k points)
Fair enough, I will try that. Might I suggest that the jar file checks the jdk/jre version and refuses to start up if the jdk is unacceptable? That would have saved me quite a bit of lost work.

The reason I was running the jar file directly was that the linux install script (which I presume installs its own jre) complained that my system was 64bit and exited immediately.

That being said, I wound up installing the windows version, the file loaded ok, and my co-workers were pretty impressed with my diagram, so thanks for the very useful software.
It says "Requires Oracle's JRE 6." right next to the download link for the zipped version.

But you are right, warning users away from OpenJDK might be a good idea.
Legal Disclosure | Privacy Policy
...