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.


Corrupted file with 0 KB

0 votes

Dear yworks community,

I have a corrupted that is giving the following error report when trying to open it.
The file has 0 KB.


y.H.B.B.a: SAX error: Premature end of file.

at com.yworks.A.B.G.A.U$H.ā(Unknown Source)

at com.yworks.A.B.G.A.U.ā(Unknown Source)

at com.yworks.A.B.G.A.Q.ā(Unknown Source)

at y.H.G.ā(Unknown Source)

at y.B.A.M.Đ(Unknown Source)

at y.B.e.č(Unknown Source)

at y.B.e.ā(Unknown Source)

at y.B.e.ă(Unknown Source)

at com.yworks.A.B.W.ă(Unknown Source)

at com.yworks.A.B.W.ā(Unknown Source)

at com.yworks.A.J.P.ā(Unknown Source)

at com.yworks.A.J.P.ā(Unknown Source)

at com.yworks.A.J.G.ā(Unknown Source)

at com.yworks.A.J.G.ą(Unknown Source)

at com.yworks.A.yEd$3.run(Unknown Source)

at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)

at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)

at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)

at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)

at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)

at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:261)

at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)

at com.yworks.A.B.G.A.H.ā(Unknown Source)

at com.yworks.A.B.G.A.H.ā(Unknown Source)

... 28 more

I would be very grateful for any help on this topic!



in Help by

1 Answer

0 votes
0 KB means the file is empty.

yEd should probably handle this case a bit more gracefully by opening a new, empty editor tab instead of throwing an error.
by [yWorks] (146k points)
Hi Thomas!

Thank you for your reply!
I should have probably given a bit more context here.

The file was not empty the day before, but seems to have gotten corrupted while saving yesterday.

I was wondering, if I can somehow recover it, or if I have to start from scratch with my plot.

Do you have any idea, if there are any options for recovery?

Thanks in advance,

I am sorry to say that there is no way to recover the lost information.
Legal Disclosure | Privacy Policy