Page 1 of 1

Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 57

Posted: 02 Oct 2019, 13:53
by Morpheus
Hello together,

I'm new in this forum and I hope you can help me.
FileBot is a fantastic program, I used a long time before.
I also bought a license.
And now - I don't know, what I did, I got a crazy failure message.

But first, let me tell you, what is installed on my Synology DS1815+ :
- FileBot Node
- FileBot
- Node.js v4
- Node.js V8
- Java installer (from rednoah)

I have only one movie in my input folder.
And when I start the FileBot with "execute" I got following failure message:

***************************************************************************************************************************************************************************************************

Code: Select all

filebot -script 'fn:amc' '/volume1/11 Transfer/01 FileBot Input' --output '/volume1/11 Transfer/02 FileBot Output' --action duplicate -non-strict --order Airdate --conflict auto --lang de --def 'ut_label=Movie' 'music=y' 'unsorted=y' 'skipExtract=y' 'excludeList=.excludes' --log all --log-file '/usr/local/filebot-node/data/filebot.log'

------------------------------------------

Locking /usr/local/filebot-node/data/filebot.log
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 57
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 57
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:163)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:37)
	at net.filebot.Main.main(Main.java:132)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 57
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:184)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:166)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:152)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:273)
	... 5 more

Error (o_O)
------------------------------------------

[Process error]
***************************************************************************************************************************************************************************************************
What does this mean?
Can you help me?

Thank you very much for your support.

Greetings from Germany

Morpheus

Re: Synology / FileBot - illegal reflective access operation

Posted: 02 Oct 2019, 14:34
by rednoah
:idea: If you've been auto-upgraded to Java 13, then you'll need to manually upgrade to the latest version of FileBot 4.8.6 (currently in beta) as well, since the version of Groovy shipped with FileBot 4.8.5 isn't forwards-compatible with Java 13: https://get.filebot.net/filebot/BETA/


:arrow: viewtopic.php?f=13&t=11099