Page 1 of 1

(core dumped) java -Xshare:dump -XX:SharedClassListFile="$CDS_ARCHIVE.lst"

Posted: 30 Apr 2025, 23:11
by LobsterDog
I'm getting the following error when executing FileBot Node. This started a couple days ago. FileBot had been working great before that. I have not made any changes to my environment.

Code: Select all

Generate CDS archive...
/var/packages/filebot/target/jsa/generate-app-cds: line 19: 19218 Aborted                 (core dumped) java -Xshare:dump -XX:SharedClassListFile="$CDS_ARCHIVE.lst" -XX:SharedArchiveFile="$CDS_ARCHIVE" -jar "$CDS_CLASSPATH" > "$CDS_ARCHIVE.log" 2>&1

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
------------------------------------------
[Process error]

🔺 Exit Code: 1
I'm running DS218, DSM 7.2.2-72806 Update 3.

FileBot 5.1.7 (r10514)
FileBot Node 0.4.8

I have tried the following:
Clear cache
Updated DSM to latest
Uninstalled, reinstalled Java
Uninstalled, reinstalled FileBot, FileBot Node
Rebooted

Any ideas??

Thank you.

Screenshot
https://imgur.com/3Rr55CB

Re: Exception: java.lang.NoClassDefFoundError

Posted: 01 May 2025, 09:04
by rednoah
:idea: Looks like the issue might be caused by the recent Java 21.0.7 auto-update:
https://github.com/adoptium/adoptium-su ... ssues/1185


:arrow: We have updated the java-installer package repository to now install 21.0.4 instead. This will happen automatically when the java-installer package is started (e.g. on reboot) or by simply uninstalling and then reinstalling the java-installer package again.

Re: (core dumped) java -Xshare:dump -XX:SharedClassListFile="$CDS_ARCHIVE.lst"

Posted: 01 May 2025, 21:35
by LobsterDog
That did the trick. Thank you for the prompt support!