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

Cannot open file .ygf with Yed.graph.editor

0 votes

Hi,

I have Yed.graph.editor, version 3.12.2, I download this program on google.

I use Windows 7 edition familiale premium, system ecploitation 64 bits.

I use Java version 7 standard edition.

Problem: I use the program to make a graph, I saved it with yed, but now I'm not able to open it anymore. 

When I open Yed.exe, I chose "open", my document is .ygf, I get this error message: yEd has encountered the following error: Could not import file Logigramme optimisé.ygf.

Details are:

ava.io.IOException
at B.A.A.B.S.ă(Unknown Source)
at B.A.A.B.S.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.D.ă(Unknown Source)
at B.A.A.J.D.Ă(Unknown Source)
at B.A.A.J.A$B.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.K.D.ā(Unknown Source)
at B.A.A.K.j.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1082)
at java.awt.Component.show(Component.java:1651)
at java.awt.Component.setVisible(Component.java:1603)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at B.A.A.S.ā(Unknown Source)
at B.A.A.A.J.Ă(Unknown Source)
at B.A.A.U$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
at y.I.SA.read(Unknown Source)
at y.I.A.T.read(Unknown Source)
at y.I.B.I.read(Unknown Source)
at y.H.E.ă(Unknown Source)
at y.H.E.ā(Unknown Source)
at y.H.E.Ă(Unknown Source)
at y.H.E.Ă(Unknown Source)
at y.H.E.ā(Unknown Source)
at B.A.A.B.G.R.ā(Unknown Source)
at y.H.G.ā(Unknown Source)
at y.B.A.M.Đ(Unknown Source)
at y.B.X.č(Unknown Source)
at y.B.X.ā(Unknown Source)
at y.B.X.ă(Unknown Source)
... 70 more
 
 
Thanks for your help!!
Maude
in Help by
reshown by
Please add the file to your message to allow us to reproduce the problem: http://yed.yworks.com/support/qa/1734/

In general, I recommend to save your files in one of the GraphML formats since only these support all the advanced features of yEd.

3 Answers

0 votes
by
0 votes
I use YEd 3.12.2.

Thanks for your help.
by
0 votes

I think I was able to rescue most of your diagrams' content:

Logigramme partie 1
Logigramme optimis--

Nevertheless, I would like to repeat Michael's advice: Please stick to GraphML (and GraphMLz). All other formats are legacy formats that cannot handle many of yEd's newer features like e.g. custom properties.

by [yWorks] (161k points)
edited by
Thank you so much!
Legal Disclosure | Privacy Policy
...