Page 1 of 1

Can't figure out source of error

Posted: 18 Feb 2014, 18:17
by Sputnikk23
I'm one of those folk who installed the misslehugger package for filebot on his homebrew NAS (so its not ARM, its x86). I want to get my whole Sab/CouchPotato setup going but I want filebot working for my shows, movies and music before going forward so I don't sign myself up for another disorganized mess. I ran it in --action test mode. Went through fine. Then I made some file changes, and ran filebot from cmdline again, this time erroring out. I tried all sorts of things, moved some files around myself. Wiped filebot out and its cache/folders manually. Same thing.

I run:

Code: Select all

filebot -script fn:amc --output "/volume1" --log-file amc.log --action move --conflict override -non-strict "/volume1/Videos/Movies" --def artwork=y
I get the following. The last line prior to error is fetching artwork for [movie], and its always a different one:

Code: Select all

NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
       at net.sourceforge.filebot.media.MediaDetection.detectMovie(MediaDetection.java:494)
       at net.sourceforge.filebot.media.MediaDetection$detectMovie.call(Unknown Source)
       at net.sourceforge.filebot.media.MediaDetection$detectMovie.call(Unknown Source)
       at Script2.detectMovie(Script2.groovy:238)
       at Script2.detectMovie(Script2.groovy)
       at Script3$_run_closure38_closure78.doCall(Script3.groovy:244)
       at Script3$_run_closure38.doCall(Script3.groovy:241)
       at Script3.run(Script3.groovy:203)
       at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:102)
       at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:95)
       at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
       at net.sourceforge.filebot.Main.main(Main.java:190)
Failure (°_°)
I was googling and forum reading all night. Nothing :( and i'm a fairly apt linux sys admin.

Help please?

Re: Can't figure out source of error

Posted: 19 Feb 2014, 03:35
by rednoah
Try using the latest HEAD revision. The MH packages are always a bit outdated.

Re: Can't figure out source of error

Posted: 19 Feb 2014, 05:59
by Sputnikk23
Thanks for the quick reply.

Do you mean installing your compiled ipkg file?

Edit:

Oh I see. I just need to drop in your latest filebot.jar. will try in morning.

Re: Can't figure out source of error

Posted: 19 Feb 2014, 08:58
by rednoah

Re: Can't figure out source of error

Posted: 19 Feb 2014, 14:01
by Sputnikk23

Code: Select all

filebot -script fn:amc --output "/volume1" --log-file amc.log --action test --conflict override -non-strict "/volume1/Videos/Movies" --def artwor
k=y
Locking /usr/local/filebot/data/logs/amc.log
ClassNotFoundException: java.nio.file.AtomicMoveNotSupportedException
java.lang.ClassNotFoundException: java.nio.file.AtomicMoveNotSupportedException
        at net.sourceforge.filebot.cli.ScriptShell.<init>(ScriptShell.java:57)
        at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:122)
        at net.sourceforge.filebot.Main.main(Main.java:192)
Failure (°_°)

:(


Same thing for -script fn:sysinfo

Re: Can't figure out source of error

Posted: 19 Feb 2014, 18:58
by rednoah
Try r2040.

PS: The issue is caused by Java 6 since I generally only test and work with Java 7 and 8.

Re: Can't figure out source of error

Posted: 19 Feb 2014, 19:22
by Sputnikk23
Going to try 2040 now.

Yep I just figured that out. Your latest REVs require Java 1.7 now.

I have a synology but the homebrew version. XPENOLOGY. Based on the 3212 synology model which is the intel processor. None of the java se embedded 7 packages are supported on it, and installing it manually so far has been unsuccessful. I come up with the same error others do. I was just looking into possibly chrooting or even running a virtual machine JUST for filebot, lol. So I'm stuck with java 1.6 for now.

Will report back shortly on success.

Re: Can't figure out source of error

Posted: 19 Feb 2014, 19:30
by Sputnikk23
--action test succeeded.

did exact same cmd but with --action move, result:

Code: Select all

Fetching artwork for /volume1/Movies/A History of Violence (2005) from TheMovieDB
NullPointerException: Cannot invoke method listPath() on null object
java.lang.NullPointerException: Cannot invoke method listPath() on null object
 at Script2.detectMovie(Script2.groovy:240)
 at Script2.detectMovie(Script2.groovy)
 at Script3$_run_closure54_closure95.doCall(Script3.groovy:279)
 at Script3$_run_closure54.doCall(Script3.groovy:276)
 at Script3.run(Script3.groovy:238)
 at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:91)
 at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:85)
 at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:123)
 at net.sourceforge.filebot.Main.main(Main.java:192)
Failure (°_°)

Re: Can't figure out source of error

Posted: 19 Feb 2014, 21:16
by rednoah
Judging from the log /volume1/Movies/A History of Violence (2005) does not contain any video files.

Re: Can't figure out source of error

Posted: 19 Feb 2014, 21:21
by Sputnikk23
got it working..

next to figure out the TV Shows. Don't have a folder to test on at the moment. The movies folder had a breaking bad episode in it, sitting by itself and the above command (which i got to work eventually) left it alone...

also, since i'm on synology with a intel processor - can't use filebot for music :(. will have to find another solution for organizing that. no way to get fpcalc working due to lack of glibc 2.4. same for 7zip binding actually.