Code: Select all
10/17/21_13:24:52 /Users/john
$ filebot -script fn:history
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class net.filebot.Logging
at net.filebot.Main.main(Unknown Source)
10/17/21_13:26:08 /Users/john
$ filebot -script fn:history /Users/john/.filebot/history.xml
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class net.filebot.Logging
at net.filebot.Main.main(Unknown Source)
10/17/21_13:29:07 /Users/john
$ filebot -script fn:history "/Users/john/.filebot/history.xml"
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class net.filebot.Logging
at net.filebot.Main.main(Unknown Source)
Just tried to clone github repo and run:
Code: Select all
10/17/21_13:44:35 /Users/john/.filebot/FileBotScriptRepo
$ filebot -script /Users/john/.filebot/FileBotScriptRepo/scripts/history.groovy | grep -v "\.srt\|\.idx\|\.sub" | tr '\t\n' '\0' | xargs -0 -n100000 basename -a | gsed '0~2 s/$/\n---/g'
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class net.filebot.Logging
at net.filebot.Main.main(Unknown Source)
Looks like there is a regression at Homebrew. If a user has openjdk installed and is running an intel processor openjdk.rb install script is installing openjdk17 for arm processors.
EDIT... Nope not a homebrew issue. It's because I used lowercase letters in my system.properties file when I changed from info to warning logging level.

Amazing that something as simple as that can prevent filebot from starting up.