BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
DIK
Posts: 8
Joined: 26 Jan 2019, 20:43

BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63

Post by DIK »

I have removed filebot, filebot-node and JAVA-installer and reinstall them to other disk of Synology NAS (latest DSM 7.1.1-42962 Update 1).
Now I get the next.

Code: Select all

filebot -script 'fn:amc' /volume2/Download --output '/volume2/Фильмы' --action duplicate -non-strict --order Airdate --conflict auto --mapper '--db TVMaze' --lang ru --def 'unsorted=y' 'subtitles=rus' 'skipExtract=y' 'minLengthMS=0' 'minFileSize=0' 'movieDB=OMDb' 'seriesDB=TheTVDB' 'animeDB=AniDB' 'unsortedFormat=Фильмы/{fn}' --apply refresh --log all --log-file '/var/packages/filebot-node/var/filebot.log'

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

BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 63
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:199)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:180)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:166)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:287)
	... 5 more

Error (o_O)

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

Code: Select all

Java Installer v. 2.17
FileBot v. 4.9.6
FileBot Node v. 0.4.3
Node.JS v. 12

Code: Select all

java -version
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment Temurin-19.0.2+7 (build 19.0.2+7)
OpenJDK 64-Bit Server VM Temurin-19.0.2+7 (build 19.0.2+7, mixed mode, sharing)

What's wrong?
Last edited by DIK on 28 Jan 2023, 16:29, edited 2 times in total.
Pasroe
Posts: 2
Joined: 28 Jan 2023, 14:59

Re: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63

Post by Pasroe »

Hello, I have the exact same problem after following viewtopic.php?t=1802

Version of DSM: 7.1.1-42962 Update 3
Version of Java installer: 2.17
Version of Filebot: 4.9.6
Version of FileBot Node : 0.4.3
I use the repo:

Code: Select all

https://get.filebot.net/syno/


And here is my error:

Code: Select all

BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 63
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:199)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:180)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:166)
	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:287)
	... 5 more

Error (o_O)

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

[Process error]

🔺 Exit Code: 1
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63

Post by rednoah »

Looks like java-installer automatically updated you to JDK 19.0.2 and FileBot 4.9.6 happens to not be forwards-compatible with that. I've updated the java-installer deployment descriptor to JDK 17.0.6 for the time being. That should work. You can force a down-upgrade by uninstalling java-installer and then installing it again. Sorry for the inconvenience.
:idea: Please read the FAQ and How to Request Help.
DIK
Posts: 8
Joined: 26 Jan 2019, 20:43

Re: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 63

Post by DIK »

rednoah wrote: 28 Jan 2023, 16:42 Looks like java-installer automatically updated you to JDK 19.0.2 and FileBot 4.9.6 happens to not be forwards-compatible with that. I've updated the java-installer deployment descriptor to JDK 17.0.6 for the time being. That should work. You can force a down-upgrade by uninstalling java-installer and then installing it again. Sorry for the inconvenience.
With 17.0.6 it works.
Thanks.
Post Reply