![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 266
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Java error
Epubcheck is failing on any epub I try on my Windows box - epubs known to be good on my other machines. And using Sigil 2.6.0.
I bit the bullet yesterday and upgraded my W10 box to W11 since we're getting close to the end of support for W10. All seemed to upgrade without problems but it looks like something fouled up java. Epubcheck fails with about 1000 lines of error message like this: Code:
Running EPUBCheck 5.2.1... please wait. EPUBCheck Java error. java.lang.StackOverflowError at com.thaiopensource.relaxng.pattern.InterleavePattern.checkRestrictions(InterleavePattern.java:35) at com.thaiopensource.relaxng.pattern.InterleavePattern.checkRestrictions(InterleavePattern.java:35) at com.thaiopensource.relaxng.pattern.InterleavePattern.checkRestrictions(InterleavePattern.java:35) at com.thaiopensource.relaxng.pattern.InterleavePattern.checkRestrictions(InterleavePattern.java:35) at com.thaiopensource.relaxng.pattern.InterleavePattern.checkRestrictions(InterleavePattern.java:37) at com.thaiopensource.relaxng.pattern.BinaryPattern.checkRestrictions(BinaryPattern.java:22) at com.thaiopensource.relaxng.pattern.GroupPattern.checkRestrictions(GroupPattern.java:27) at com.thaiopensource.relaxng.pattern.ElementPattern.checkRestrictions(ElementPattern.java:42) I checked that java is up to date - version 8 build 461. Anyone got any ideas how I can sort this? |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Yes a java stack overflow failures often happen when you use a 32 bit java virtual machine and do not grow the default stack size. There are two solutions:
Using Doitsu's epubcheck plugin you can grow the stack by setting options in his preferences. Or simply upgrade to use a 64 bit java virtual machine. I recommend the latter if your machine supports 64 bit. |
![]() |
![]() |
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,267
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I would agree with @KevinH. Since your Windows 11 on X64 install must be 64bit, you should upgrade your Java install to 64bit.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CC has downloaded fine to OTG SD card but will not open files (java.lang.error) | bazookajoe | Calibre Companion | 4 | 06-19-2022 02:50 PM |
PRS-T1 Welcome Back Java | DoctorM | Sony Reader | 0 | 04-20-2017 11:26 PM |
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: | e-bookuser | Devices | 1 | 07-03-2011 04:09 PM |
java.lang.arrayindexoutofboundsexception 1625 error | maxcat | Kindle Formats | 4 | 11-23-2008 09:41 AM |
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari | Zire | Lounge | 4 | 05-24-2005 09:12 PM |