Menu

#91 BUG Version 1.33: xml entity exceeds size limit

closed
None
Bug
2026-02-06
2026-02-05
No

Hi Jason, I just updated to version 1.33 on Windows 11. When I open Hypernomicon and it attempts to load the database, I get the attached error. The database does not load and Hypernomicon stays in the blank starting state without any entries. Trying File --> Open Database and choosing my database produces the same error.

My largest XML file is Works.xml at about 7.2 MB. Next largest is Notes.xml at 1.3 MB. The largest file in the XML folder is Bib.json at 17.7 MB.

Let me know if you can help -- I'm going to try rolling back for now.

Thanks!

1 Attachments

Discussion

  • Stephen Mann

    Stephen Mann - 2026-02-05

    Just noticed the error references Works.xml explicitly. If you need it I'm happy to send it to you privately.

     
  • Jason Winning

    Jason Winning - 2026-02-06
    • status: open --> closed
     
  • Jason Winning

    Jason Winning - 2026-02-06

    Hypernomicon 1.32.2 was bundled with Java 22; Hypernomicon 1.33 was bundled with Java 25. There was a change in Java 24 that imposed very strict limits on the size of XML data that could be loaded by default: https://bugs.openjdk.org/browse/JDK-8368902

    The fix is to work around this by overriding the size limits to zero (which effectively removes the size limitation). I didn't realize this change in Java 25 because my test database is not as large as yours. I have tested a fix with a Notes.xml file that triggers the same error you saw. The fix has been committed to the GitHub repo: https://github.com/jasonwinning/hypernomicon/commit/0baa3ca60bb56ef17f542a96f4dcb0b810529845

    I will be be releasing version 1.33.1 which has this fix shortly.

     
    ❤️
    1

Log in to post a comment.

MongoDB Logo MongoDB