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.


yEd Could not import file

0 votes


I tried opening my graph file today, built using version 3.16.1 of yEd graph editor and I received the following error.


yEd has encountered the following error: Could not import file blockDiagram.graphml.

y.H.B.B.a: SAX error: Content is not allowed in prolog.
at com.yworks.A.B.G.A.P$H.ā(Unknown Source)
at com.yworks.A.B.G.A.P.ā(Unknown Source)
at com.yworks.A.B.G.A.N.ā(Unknown Source)
at y.H.G.ā(Unknown Source)
at y.B.A.M.Đ(Unknown Source)
at y.B.a.č(Unknown Source)
at y.B.a.ę(Unknown Source)
at y.B.a.ă(Unknown Source)
at com.yworks.A.B.W.ă(Unknown Source)
at com.yworks.A.B.W.ā(Unknown Source)
at com.yworks.A.J.A.ā(Unknown Source)
at com.yworks.A.J.A.ā(Unknown Source)
at com.yworks.A.J.D.ă(Unknown Source)
at com.yworks.A.J.D.Ă(Unknown Source)
at com.yworks.A.B$3.run(Unknown Source)
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)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.yworks.A.B.G.A.G.ā(Unknown Source)
at com.yworks.A.B.G.A.G.ā(Unknown Source)
... 29 more
I am using Windows 8.1 operating system and version 3.16.1 of yEd.
Please could you help me as soon as possible?
Thank you very much.
in Help by

1 Answer

0 votes
Best answer
The file linked above is not a yEd generated GraphML file - at least not anymore. If it once was, its contents have been completely erased somehow.
by [yWorks] (161k points)
Thank you for your answer. It was a file generated using yEd. Until yesterday, I could open and edit it without any problem. I do not know how it could be completely erased. And I guess there is no way of retrieving my graph, right?
Unfortunately, the file linked above does not contain any information at all anymore. So, no, there is no way to retrieve any information from that file.
Legal Disclosure | Privacy Policy