Cannot cast java.net.URI to [B

Support for macOS users
Post Reply
Meph88
Donor
Posts: 35
Joined: 29 Jun 2014, 15:46

Cannot cast java.net.URI to [B

Post by Meph88 »

Just came back from a couple of weeks away.
Before leaving everything ran smoothly.
Now, not so much.
When I run my Filebot script which is as follows:

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot.sh -script fn:amc "/Users/Username/Documents/New" --output /Volumes/Media/New --action move --conflict override -non-strict --def subtitles=en music=n artwork=y
I get this output:

Code: Select all

Cannot cast java.net.URI to [B
java.lang.ClassCastException: Cannot cast java.net.URI to [B
	at net.filebot.Cache$$Lambda$11/963601816.transform(Unknown Source)
	at net.filebot.CachedResource.get(CachedResource.java:107)
	at net.filebot.MemoizedResource.get(Resource.java:36)
	at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:34)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:120)
Failure (°_°)
I noticed I was on version 4.7 so updated to 4.7.2 but get the same result.

Please help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot cast java.net.URI to [B

Post by rednoah »

Are you 100% sure that you are actually running 4.7.2 and that this is still happening?

Have you tried the latest revision?
viewtopic.php?f=7&t=1609
:idea: Please read the FAQ and How to Request Help.
Meph88
Donor
Posts: 35
Joined: 29 Jun 2014, 15:46

Re: Cannot cast java.net.URI to [B

Post by Meph88 »

Code: Select all

Mac-mini:~ MacMini$ filebot -version
FileBot 4.7.2 (r4178) / Java(TM) SE Runtime Environment 1.8.0_25

Mac-mini:~ MacMini$ /Applications/FileBot.app/Contents/MacOS/filebot.sh -script fn:amc "/Users/MacMini/Documents/Media" --output /Volumes/Media/New --action move --conflict override -non-strict --def subtitles=en music=n artwork=y 
Cannot cast java.net.URI to [B
java.lang.ClassCastException: Cannot cast java.net.URI to [B
	at net.filebot.Cache$$Lambda$11/963601816.transform(Unknown Source)
	at net.filebot.CachedResource.get(CachedResource.java:107)
	at net.filebot.MemoizedResource.get(Resource.java:36)
	at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:34)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:120)
Failure (°_°)
This is copied and pasted output from my terminal.
I have not tried the latest revision, to be honest I'm not totally sure how to do that but I would be happy to try.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot cast java.net.URI to [B

Post by rednoah »

So you show me that you have the latest release:

Code: Select all

filebot
But then you use a possibly completely different executable to show me that it's not working?

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot.sh

Now lets have a look at what version of FileBot you are actually using in each of these calls:

Code: Select all

ls -l `which filebot`

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot.sh -script fn:sysinfo
:idea: Please read the FAQ and How to Request Help.
Post Reply