I've ensured that Java is up to date, as well as Filebot. It worked perfectly a few weeks ago, unfortunately I had to wipe my machine and start from scratch, and it hasn't worked since. Any help would be greatly appreciated.BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null
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:154)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:131)
Caused by: java.lang.UnsupportedOperationException
at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
... 5 more
BUG! exception in phase 'semantic analysis'
BUG! exception in phase 'semantic analysis'
I'm getting the following error when trying to run any "filebot -script" commands on MacOS Mojave, filebot v4.8.2
Re: BUG! exception in phase 'semantic analysis'
1.
This error means that your script is not compatible with the latest version of FileBot / Groovy. You'll need to double-check your script. AFAIK, all the official scripts work just fine. Please post your script so we can have a look.
2.
What does the sysinfo output say?
This error means that your script is not compatible with the latest version of FileBot / Groovy. You'll need to double-check your script. AFAIK, all the official scripts work just fine. Please post your script so we can have a look.
2.
What does the sysinfo output say?
Re: BUG! exception in phase 'semantic analysis'
Sure thing, my script is as follows
The sysinfo results in the same error message/usr/local/bin/filebot -script fn:amc /Users/john/Documents/Movies --action hardlink --output /Users/john/Documents/Watch --conflict skip -non-strict --log-file amc.log --def unsorted=n music=n artwork=n excludeList=".excludes"
I'll also note that "which filebot" does indeed return "/usr/local/bin/filebot".filebot -script fn:sysinfo
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null
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:154)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:131)
Caused by: java.lang.UnsupportedOperationException
at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
... 5 more
Re: BUG! exception in phase 'semantic analysis'
That is strange indeed. The built-in scripts should always work. What does filebot -version say?
Re: BUG! exception in phase 'semantic analysis'
That returns:
I have filebot installed via the App Store in my applications folder, and installed the CLI version via brew. I don't think this should affect it, as this is how the setup was configured before, but I thought it worth mentioning.filebot -version
FileBot 4.8.2 (r5789) / Java(TM) SE Runtime Environment 11 / Mac OS X 10.14 (x86_64)
Re: BUG! exception in phase 'semantic analysis'
I see. The current release of FileBot may not be fully compatible with Java 11.
I recommend using the PKG installer package which includes its own JRE and thus won't run into dependency issues:
https://get.filebot.net/filebot/
Make sure to completely uninstall all versions of FileBot first, so you only have one installed, as to avoid conflicts and other issues.
I recommend using the PKG installer package which includes its own JRE and thus won't run into dependency issues:
https://get.filebot.net/filebot/

Re: BUG! exception in phase 'semantic analysis'
That did it, thanks!
Re: BUG! exception in phase 'semantic analysis'
I've run into the same problem. Java 10 is out of date, not supported anymore and also not available anymore. Java 11 is the new LTS version.
Code: Select all
axel@iris ~/dev/src/java-installer/release (latest *=) $ ./get-java.sh get jre x86_64 Linux
Download http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jre-10.0.2_linux-x64_bin.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
jre-10.0.2_linux-x64_bin.tar.gz: No such file or directory
Expected SHA256 checksum: 7d2909a597574f1821903790bb0f31aaa57ab7348e3ae53639c850371450845d
Actual SHA256 checksum:
ERROR: SHA256 checksum mismatch
-
- Posts: 5
- Joined: 08 Oct 2016, 18:16
Re: BUG! exception in phase 'semantic analysis'
I tried removing everything and installing from the package. I now get this error, even with the GUI:
"This application requires that Java 10 or later be installed on your computer. Please download and install the latest version of Java from www.java.com and try again."
"This application requires that Java 10 or later be installed on your computer. Please download and install the latest version of Java from www.java.com and try again."
Re: BUG! exception in phase 'semantic analysis'
Please use the self-contained macOS installer: *.pkg package, as it doesn't use or rely on the JDK installed on your system:booshtukka wrote: ↑11 Nov 2018, 11:16 I tried removing everything and installing from the package. I now get this error, even with the GUI:
"This application requires that Java 10 or later be installed on your computer. Please download and install the latest version of Java from www.java.com and try again."
https://www.filebot.net/#download
Re: BUG! exception in phase 'semantic analysis'
Just upgraded to Mojave and got the same error. I had the MAS version but I have installed the package and it's now working. How can I obtain a complimentary license? I'm unable to send PM's via the forum at this point.
Re: BUG! exception in phase 'semantic analysis'
[FAQ] How to request a complimentary license?
viewtopic.php?f=8&t=9517
viewtopic.php?f=8&t=9517