Filebot Node on Synology Error (Unsupported class file major version 57)

All your suggestions, requests and ideas for future development
Post Reply
spetrillo
Posts: 67
Joined: 21 Jun 2015, 20:46

Filebot Node on Synology Error (Unsupported class file major version 57)

Post by spetrillo »

I have installed both the Filebot and Filebot Node applications on my Synology DS718+. I have also installed the Java Installer app, as well as the Node JS v4 app. When I run the System Info on the Filebot Node app I get the following error:

Code: Select all

filebot -script 'fn:sysinfo'

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

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]
This makes me think Java is not installed, yet your Java Installer app should have taken care of this?

Thanks,
Steve
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node on Synology Error

Post by rednoah »

Sounds like you're running the latest Java 13, which means you might need to use the latest FileBot 4.8.6 beta package:
viewtopic.php?f=13&t=11099
:idea: Please read the FAQ and How to Request Help.
spetrillo
Posts: 67
Joined: 21 Jun 2015, 20:46

Re: Filebot Node on Synology Error (Unsupported class file major version 57)

Post by spetrillo »

Updated to 4.8.6 and all good...thanks!
spetrillo
Posts: 67
Joined: 21 Jun 2015, 20:46

Re: Filebot Node on Synology Error (Unsupported class file major version 57)

Post by spetrillo »

Hold on....now seeing this:

Code: Select all

filebot -script 'fn:sysinfo'

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

Using persistent log file /volume1/@appstore/filebot/data/admin/tmp/filebot.log
Locking /volume1/@appstore/filebot/data/admin/tmp/filebot.log
FileBot 4.8.6 (r6787)
JNA Native: 6.1.0
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo':
libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libmediainfo.so) not found in resource path (/volume1/@appstore/filebot/jar/filebot.jar)
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-09-28 (r596)
Groovy: 2.5.8
JRE: OpenJDK Runtime Environment 13
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 6 GB Max Memory / 47 MB Used Memory
OS: Linux (amd64)
HW: Linux DS718 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux synology_apollolake_718+
STORAGE: ext4 [/] @ 1.3 GB | devtmpfs [/dev] @ 4.1 GB | tmpfs [/tmp] @ 4.1 GB | tmpfs [/run] @ 4.1 GB | tmpfs [/dev/shm] @ 4.1 GB | devtmpfs [/proc/bus/usb] @ 4.1 GB | btrfs [/volume1] @ 97 GB | btrfs [/volume2] @ 450 GB | btrfs [/volume1/@docker] @ 97 GB | btrfs [/volume1/@docker/btrfs] @ 97 GB
DATA: /volume1/@appstore/filebot/data/admin
Package: SPK
License: FileBot License P7310294 (Valid-Until: 2020-03-26)
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node on Synology Error (Unsupported class file major version 57)

Post by rednoah »

Please read Optional Features in the Synology Installation Guide:
viewtopic.php?t=1802


:idea: The SPK package does package generic libmediainfo builds, but those may not always be compatible with your specific platform, so it's best to install MediaInfo via packages for your specific Synology platform.


:idea: You can also forward the issue to Synology Support to see if they can improve compatibility with generic Linux binaries.
:idea: Please read the FAQ and How to Request Help.
spetrillo
Posts: 67
Joined: 21 Jun 2015, 20:46

Re: Filebot Node on Synology Error (Unsupported class file major version 57)

Post by spetrillo »

Installed MediaInfo SPK and all good. Thanks!
Post Reply