nilsreiter / CorefAnnotator

Annotation tool for coreference
Apache License 2.0
32 stars 6 forks source link

Unable to open ca2z file after saving #391

Open sabyasachee opened 8 months ago

sabyasachee commented 8 months ago

I am using CorefAnnotator version 2.1.1 (latest) with OpenJDK version 21.0.2 on MacOS 14.4.1. Everytime I save my work as the ca2z file, I am unable to open it again and I get the error "org.xml.sax.SAXParseException: Premature end of file". I see that the size of my ca2z files are very small (in bytes), so maybe the issue is that the file is not getting saved.

samin-khan commented 8 months ago

^ I am experiencing the same issue using CorefAnnotator version 2.1.1 with OpenJDK version 22 on MacOS 13.4.1

nilsreiter commented 8 months ago

Is that new since last week, i.e., did it work with older versions of OpenJDK or MacOS?

samin-acue commented 8 months ago

It worked on version 1 of the annotation tool although not sure what version of OpenJDK or macOS what used. Have not used other versions of OpenJDK or macOS on version 2 of the tool. When trying version 1 again we run into the same issue where it is unable to read in a saved file.

Do you know if this error has been encountered before with any version of the tool, OpenJDK, OS and/or any ideas on how to remedy it?