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

Error on opening external file

0 votes
I'm using a Windows 7 Home Professional 64bit and yEd GraphEditor 3.9

The error appears on opening a .graphml File of a friend. "Konnte Datei name.graphml nicht importieren" - Was not able to import name.graphml

Details:

"y.H.B.B.a: SAX error: Premature end of file.
    at y.H.B.B._.ā(Unknown Source)
    at y.H.B.A$13.ā(Unknown Source)
    at y.H.B.A.ā(Unknown Source)
    at y.H.B.A.ā(Unknown Source)
    at y.H.S.ā(Unknown Source)
    at B.A.A.B.G.A.E.ā(Unknown Source)
    at B.A.A.B.G.A.E.ā(Unknown Source)
    at B.A.A.B.G.A.C.ā(Unknown Source)
    at y.H.I.ā(Unknown Source)
    at y.B.A.M.ď(Unknown Source)
    at y.B.J.Č(Unknown Source)
    at y.B.J.ā(Unknown Source)
    at y.B.J.ă(Unknown Source)
    at B.A.A.B.P.Ă(Unknown Source)
    at B.A.A.B.P.ā(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.ā(Unknown Source)
    at B.A.A.K.D.ā(Unknown Source)
    at B.A.A.K.i.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at com.jidesoft.plaf.basic.BasicJideButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.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: Premature end of file.
    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 javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    ... 60 more

"

Thank you
in Help by

1 Answer

0 votes
This means the file got corrupted somehow. If you know XML, you can open the GraphML file in a normal text editor (or a dedicated XML editor) and fix its structure to rescue the remaining information.

------------

Das bedeutet, dass die Datei kaputt ist (z.B. weil ein Fehler beim Schreiben aufgetreten ist oder das Kopieren vom einem Ort zu einem anderen nicht richtig funktioniert hat). Wenn Sie sich mit XML auskennen, koennen Sie versuchen die Datei in einem Texteditor oder einem XML-Editor zu oeffnen und von Hand zu reparieren um die noch vorhandenen Informationen zu retten.
by [yWorks] (160k points)
edited by
Legal Disclosure | Privacy Policy
...