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 has encountered the following error: Could not import file

0 votes
I use this program all the time and have never had any problems.  Today I have three files that will not open.  This is what the details box says.  Is there any hope to be able to open them?  I did update to the latest version after not being able to open them in the previous version either.  I also tried expanding the Java memory as suggested somewhere which didn't help either.
 
y.H.B.B.a: SAX error: Content is not allowed in prolog.
at com.yworks.A.B.G.A.T$H.ā(Unknown Source)
at com.yworks.A.B.G.A.T.ā(Unknown Source)
at com.yworks.A.B.G.A.P.ā(Unknown Source)
at y.H.G.ā(Unknown Source)
at y.B.A.M.Đ(Unknown Source)
at y.B.b.č(Unknown Source)
at y.B.b.ā(Unknown Source)
at y.B.b.ă(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.A$A.Ă(Unknown Source)
at com.yworks.A.J.A.ā(Unknown Source)
at com.yworks.A.K.D.ā(Unknown Source)
at com.yworks.A.K.j.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$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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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.H.ā(Unknown Source)
at com.yworks.A.B.G.A.H.ā(Unknown Source)
... 54 more
 
in Help by

If the problematic files are not too large and do not contain any sensitive data, you may upload the files here and I will take a look at them. Please see How to upload files to yEd Q&A? for instructions on uploading files.

2 Answers

0 votes

Thank you!

File 1

File 2

File 3

by
0 votes

Your files CHAIN 12-42-32 Surface and OGM.graphml, Chain 17 acres OGM.graphml, and Chain 17 acres SURFACE.graphml are no GraphML files but PDF documents. (I guess you created these files through "File" -> "Export" instead of "File" -> "Save As".)

It is not possible to open PDF documents in yEd. However, if you change the file extension from .graphml to .pdf, you should be able to open these files in your system's default PDF viewer application.

by [yWorks] (160k points)
Legal Disclosure | Privacy Policy
...