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 in importing GEDCOM file

0 votes
i tried to import a GEDCOM file generated by GenoPro, but i get this error:

java.io.IOException

at B.A.A.B.Q.Ă(Unknown Source)
at B.A.A.B.Q.ā(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.A.C.ā(Unknown Source)
at B.A.A.A.O.ā(Unknown Source)
at B.A.A.A.O.ā(Unknown Source)
at B.A.A.A.O.ā(Unknown Source)
at B.A.A.P.A$A.drop(Unknown Source)
at y.I.l$J.drop(Unknown Source)
at java.awt.dnd.DropTarget.drop(DropTarget.java:434)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:519)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:832)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:756)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
at java.awt.Component.dispatchEventImpl(Component.java:4594)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4354)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4205)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:657)
at java.awt.EventQueue$2.run(EventQueue.java:655)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at D.B.A.A.C.ā(Unknown Source)
at D.B.A.A.C.ā(Unknown Source)
at B.A.A.B.G.X$1.ā(Unknown Source)
at D.B.A.A.D$B.ā(Unknown Source)
at D.B.A.A.D.ā(Unknown Source)
at D.B.A.A.D.ā(Unknown Source)
at D.B.A.A.D.ā(Unknown Source)
at D.B.A.A.B.ā(Unknown Source)
at y.H.I.ā(Unknown Source)
at y.B.A.M.ď(Unknown Source)
at B.A.A.B.G.H.ď(Unknown Source)
at y.B.J.Č(Unknown Source)
at y.B.J.ā(Unknown Source)
at y.B.J.ă(Unknown Source)
... 44 more
 

but i can import the file in yEd 3.7.0.2 but it dosn't support unicode

in Help by
retagged by
In which version of yEd is this exception thrown (see "Help -> About" for the version number)? Can you upload the problematic file (use the link option from the tool bar above to do so)?
I've got the same problem; in my case the yEd version is 3.9.2. I can't upload the file in question for privacy reasons.

The options dialogue for GEDCOM import appears, with the various included tags appearing in the file listed. But when that is okayed, the above exception is thrown. (If the dialogue is cancelled, a new empty graph is created named after the GEDCOM file).

Interestingly, an unexpected EOF is recognised as an "invalid format" in this dialogue, and the above exception is _still_ thrown on acceptance.

(Incidentally, the option to link a file is only available if you're actually _answering_ the post - not if you're replying, editing, or commenting._

Re:

I've got the same problem; in my case the yEd version is 3.9.2. I can't upload the file in question for privacy reasons.

Without the file that triggers the error, we cannot reproduce the problem. And without being able to reproduce the problem, there is very little we can do to fix it.

Can you maybe anonymize your file? E.g. replace all names with meaningless text such as "asdf". If  the problem lies with the structure of the file, then the anonymized version should trigger it, too.

 

Re:

If the dialogue is cancelled, a new empty graph is created named after the GEDCOM file.

Yes, that is a shortcoming of our import framework. When initially designed, the possibility of aborting an import was not taken into account. The fact that yEd will create an empty document is a relatively minor nuisance compared to the effort needed to properly support aborting imports.

 

Re:

Interestingly, an unexpected EOF is recognised as an "invalid format" in this dialogue, ...

Well, an expected EOF does mean the file format is invalid. The fact that the exception is thrown, too, probably means that there are several problems either in the file or in our import routine.

 

Re:

Incidentally, the option to link a file is only available if you're actually _answering_ the post - not if you're replying, editing, or commenting.

The toolbar with the link option is available when answering or editing an answer. To upload a file in a comment, first answer the original question, then reload the page in the browser, then edit your answer and choose "Convert this answer into a comment":

If there are several answers for the question, there will be a drop down list to select the answer that will be commented.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Legal Disclosure | Privacy Policy
...