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

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
jkalksma
Posts: 7
Joined: 21 Oct 2018, 08:01

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

Post by jkalksma »

I am using Synology and have used the following script successfully:

Code: Select all

filebot -script 'fn:configure' --def ‘osdbUser=*****' ‘osdbPwd=*****' filebot -script 'fn:amc' '/volume1/Downloads' --output /volume1/Video --action move -non-strict --conflict auto --lang en --def 'music=y' 'unsorted=y' 'subtitles=eng' 'clean=y' 'deleteAfterExtract=y' 'excludeList=.excludes’
Synology sends an e-mail after running te script and now I get this:
Task Scheduler has completed a scheduled task.

Task: Filebot
Start time: Mon, 11 Nov 2019 15:55:30 GMT
Stop time: Mon, 11 Nov 2019 15:55:37 GMT
Current status: 1 (Interrupted)
Standard output/error:
Illegal Argument: java.nio.file.NoSuchFileException: /volume1/homes/jkalksma/filebot (filebot)
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)
What is wrong?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script stopped working and returns errors

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Post Reply