Page 1 of 1
Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 02:24
by halfluck
Hey Guys,
Using AMC Script and this has always worked swimmingly for me since I set it up 13 months ago but the last three movies
i'm getting this erro on the logs ==>
Code: Select all
Rename movies using [TheMovieDB]
InvocationTargetException
TV shows are working fine!
Has soomething changed on TMDB end?
Cheers Rob.
Re: Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 05:35
by rednoah
Please run
filebot -script fn:sysinfo and post the output. The command you execute and the complete command-line output would be helpful as well.
Please read
How to Request Help.
Re: Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 05:39
by halfluck
Hi rednoah,
Thanks for looking into this for me:
Code: Select all
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_151
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 6 Core / 247 MB Max Memory / 12 MB Used Memory
OS: Windows 10 (x86)
Package: MSI
Re: Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 05:40
by halfluck
Here is my command
Code: Select all
"C:\Program Files (x86)\FileBot\filebot.exe" -script fn:amc --output "D:/plex" --action move -non-strict "C:/tmp/done" --log-file C:/tmp/amc.log --def excludeList=amc.txt clean=y
EDIT:read how to and added code tag
Re: Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 06:35
by rednoah
Have you tried purchasing FileBot from the Windows Store? Do you encounter the same issue with the latest paid version?
Re: Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 06:43
by halfluck
Hi rednoah,
Thanks for that, It works from the GUI, its just the AMC that has been knobbled perhaps after the 4.8 Update
Cheers Rob.
Re: Movies no longer working "InvocationTargetException"
Posted: 19 Apr 2018, 06:51
by rednoah
So you're saying you've purchased FileBot from the Store? So why are you not using it? Instead of just calling
filebot, you explicitly use a very outdated version of FileBot that you happen to have installed on your system a long time ago?
Please uninstall all versions of FileBot you have installed, and then ONLY install FileBot via the Windows Store. You can check by calling
filebot -version. It'll say
FileBot 4.8.0.
Re: Movies no longer working "InvocationTargetException"
Posted: 16 Nov 2018, 23:45
by poochie2
Hello again, Master.
I'm having some kind of a similar issue. This is my command + output, I don't understand the InvocationTargetException I'm having:
Code: Select all
poochie@poochie-syno:~$ filebot -script 'fn:amc' '/volume1/video/Sources/Downloaded New' --output /volume1/video/ --order Airdate --conflict skip --lang en --def 'unsorted=n' 'skipExtract=y' 'plex=localhost:***' 'excludeList=.excludes' --format {plex} --log all -non-strict --action duplicate --log all
x86_64
Run script [fn:amc] at [Sat Nov 17 00:30:18 CET 2018]
Parameter: unsorted = n
Parameter: skipExtract = y
Parameter: plex = *****
Parameter: excludeList = .excludes
Argument[0]: /volume1/video/Sources/Downloaded New
Use excludes: /volume1/video/.excludes (691)
Ignore system path: /volume1/video/Sources/Downloaded New/@eaDir
Ignore extra: /volume1/video/Sources/Downloaded New/Mr. Robot (2015) Season 3 S03 (1080p BluRay x265 HEVC 10bit AAC 5.1 RCVR)/Featurettes/Deleted Scenes
Ignore extra: /volume1/video/Sources/Downloaded New/Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ/Sample
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 03/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 07/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 08/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 01/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 04/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 05/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 06/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 02/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 09/Extras
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.sub
xattr: [The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.idx] => [The X-Files - 10x01 - My Struggle]
Group: [tvs:the x files] => [The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.sub]
Rename episodes using [TheTVDB]
Auto-detected query: [The X Files]
Fetching episode data for [The X-Files]
Fetching episode data for [The Tesla Files]
Fetching episode data for [The FBI Files]
Fetching episode data for [The Doc Files]
Auto-detected query: [The X-Files]
Fetching episode data for [The X-Files]
Fetching episode data for [The Tesla Files]
Fetching episode data for [The FBI Files]
Fetching episode data for [The Doc Files]
Auto-detected query: [The X Files]
Fetching episode data for [The X-Files]
Fetching episode data for [The Tesla Files]
Fetching episode data for [The FBI Files]
Fetching episode data for [The Doc Files]
InvocationTargetException
Finished without processing any files
Failure (°_°)
In the end nothing is moved (I once had one of the subtitle files moved, but nothing else), I always get the exception and the files are added to the exclude-file. Running version 4.8.2 on DSM 6.2 (with license).
Thanks in advance.
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 05:50
by rednoah
Very strange indeed. Can you able full debug logging and try again please?
viewtopic.php?t=3913
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 06:46
by poochie2
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 07:01
by rednoah
poochie2 wrote: ↑17 Nov 2018, 06:46
Holy dat log!
(1.3 MB)
Says I need a decryption key. Please PM me the key.
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 16:12
by rednoah
Here's the underlying cause:
Code: Select all
java.lang.OutOfMemoryError: Java heap space
Code: Select all
Suppressed Exception: net.filebot.format.SuppressedThrowables: Expression yields empty value: Binding "plex": Java heap space
net.filebot.format.SuppressedThrowables: Expression yields empty value: Binding "plex": Java heap space
at net.filebot.format.ExpressionFormat.format(ExpressionFormat.java:163)
at net.filebot.format.ExpressionFormat.format(ExpressionFormat.java:129)
at net.filebot.cli.CmdlineOperations.formatMatches(CmdlineOperations.java:570)
at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:250)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:96)
at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:361)
at Script1$_run_closure54.doCall(Script1.groovy:429)
at Script1.run(Script1.groovy:415)
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: net.filebot.format.BindingException: Binding "plex": Java heap space
at net.filebot.format.ExpressionBindings.get(ExpressionBindings.java:70)
at net.filebot.format.ExpressionFileFormat$1.get(ExpressionFileFormat.java:22)
at net.filebot.format.PrivilegedInvocation$1.run(PrivilegedInvocation.java:34)
at net.filebot.format.PrivilegedInvocation.invoke(PrivilegedInvocation.java:30)
at com.sun.proxy.$Proxy16.get(Unknown Source)
at net.filebot.format.ExpressionFormat$Variable.eval(ExpressionFormat.java:275)
at net.filebot.format.ExpressionFormat.format(ExpressionFormat.java:147)
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at net.filebot.format.ExpressionBindings.get(ExpressionBindings.java:58)
... 18 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.apache.commons.io.output.StringBuilderWriter.write(StringBuilderWriter.java:142)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2538)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2516)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2493)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:1126)
at net.filebot.subtitle.SubtitleUtilities.decodeSubtitles(SubtitleUtilities.java:329)
at net.filebot.subtitle.SubtitleUtilities.detectSubtitleLanguage(SubtitleUtilities.java:468)
at net.filebot.subtitle.SubtitleUtilities.detectSubtitleLanguage(SubtitleUtilities.java:458)
at net.filebot.format.MediaBindingBean.getLanguageTag(MediaBindingBean.java:603)
at net.filebot.format.MediaBindingBean.getSubtitleTags(MediaBindingBean.java:579)
at net.filebot.format.MediaBindingBean.getPlexStandardPath(MediaBindingBean.java:1079)
at net.filebot.format.ExpressionBindings.get(ExpressionBindings.java:58)
at net.filebot.format.ExpressionFileFormat$1.get(ExpressionFileFormat.java:22)
at net.filebot.format.PrivilegedInvocation$1.run(PrivilegedInvocation.java:34)
at net.filebot.format.PrivilegedInvocation.invoke(PrivilegedInvocation.java:30)
at com.sun.proxy.$Proxy16.get(Unknown Source)
at net.filebot.format.ExpressionFormat$Variable.eval(ExpressionFormat.java:275)
How much memory does your device have? Please run
filebot -script fn:sysinfo and post the output.
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 16:15
by poochie2
Code: Select all
CPU/MEM: 4 Core / 841 MB Max Memory / 24 MB Used Memory
The unit has 4 GB + Swap enabled, i guess I need to run filebot with more max memory allowed to the java process?
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 16:21
by rednoah
Alright, that should be more than enough. But probably depends on your files. Do you have a super large sub file laying around somewhere that breaks FileBot?
The OutOfMemoryError is most likely cause by FileBot trying to guess the subtitle language from abnormally large subtitle files, so you run into this particular issue because memory is limited and guessing language from idx/sub files (which is image based and not text based, and thus much larger than expected from the usual text-based *.sub files) that aren't language tagged in the filename.
EDIT: I'll add a limit for the release to make sure FileBot just ignores subtitle files larger than 1 MB (i.e. not actually text-based subtitle files).
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 16:42
by poochie2
Apparently those are some juicy subs:
https://snag.gy/rgQnCd.jpg
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 16:47
by rednoah
Yep, that would do it. Taking a 120 MB binary file and treating it as if it was a 50 KB text file unsurprisingly doesn't end well.
If the .eng language tag is in the filename, then FileBot will just do that, and won't try to read the file, avoiding this particular issue altogether.
Re: Movies no longer working "InvocationTargetException"
Posted: 17 Nov 2018, 16:47
by poochie2
renaming to .ENG.originalext for the whole folder did the trick!