[AMC] java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0

Support for Windows users
Post Reply
orcoboi
Posts: 7
Joined: 18 Oct 2018, 20:11

[AMC] java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0

Post by orcoboi »

Hello, I'm writing this post because while testing my new torrenting setup with filebot (since I switched from Deluge to qBittorent), I got this error on a trial run of my postprocessing.pyw script done via cmd with the command:

Code: Select all

C:\Windows\py.exe "D:\Media\filebot\postprocess.pyw" "anime" "" "[HorribleSubs] Banana Fish - 14 [480p].mkv" "multi" "" "E:\tmp\Torrents\[HorribleSubs] Banana Fish - 14 [480p].mkv"
(parameters taken from a qBittorrent run)

Problem is, I get this log:

Code: Select all

Run script [fn:amc] at [Fri Oct 19 15:57:10 CEST 2018]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: movieFormat = Movies/{n} ({y})/{n} ({y})
Parameter: seriesFormat = SerieTV/{n}/Season {s}/{n} - {sxe} - {t}
Parameter: animeFormat = Anime/{n}/Season {s}/{n} - {e.pad(2)}
Parameter: musicFormat = Music/{plex}
Parameter: ut_label = anime
Parameter: ut_state = 
Parameter: ut_title = [HorribleSubs] Banana Fish - 14 [480p].mkv
Parameter: ut_kind = multi
Parameter: ut_file = 
Parameter: ut_dir = E:\tmp\Torrents\[HorribleSubs] Banana Fish - 14 [480p].mkv
Input: E:\tmp\Torrents\[HorribleSubs] Banana Fish - 14 [480p].mkv
Group: [anime:banana fish] => [[HorribleSubs] Banana Fish - 14 [480p].mkv]
java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
Failure (°_°)
and I don't know what to do, since I don't know what is causing the error.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [AMC] IndexOutOfBoundsException

Post by rednoah »

IDK. What does filebot -script fn:sysinfo say?
:idea: Please read the FAQ and How to Request Help.
orcoboi
Posts: 7
Joined: 18 Oct 2018, 20:11

Re: [AMC] IndexOutOfBoundsException

Post by orcoboi »

Code: Select all

FileBot 4.7.19.1 (r5327)
JNA Native: 5.2.0
MediaInfo: 0.7.99
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.12
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 23 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [AMC] IndexOutOfBoundsException

Post by rednoah »

The version numbers are kinda odd... How did you install FileBot?
:idea: Please read the FAQ and How to Request Help.
orcoboi
Posts: 7
Joined: 18 Oct 2018, 20:11

Re: [AMC] IndexOutOfBoundsException

Post by orcoboi »

I built it myself from github since I can't afford the license at the moment
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [AMC] IndexOutOfBoundsException

Post by rednoah »

1.
It's $6 / year. IMHO, it's fairly affordable. Please purchase a license and upgrade to the latest version of FileBot.


2.
GitHub wrote:The FileBot source code is available for your convenience:

* You may view the source code and learn from it.
* You may build FileBot for private use on unsupported platforms.
* You may NOT use the source code to publish binary builds without explicit authorization.

Please respect the author that is kindly making the source code available under the MODIFIED DON'T BE A DICK PUBLIC LICENSE.
Notably, not wanting to pay for FileBot isn't really on the list here.

:idea: However, you're very welcome to reproduce the issue, debug the code, and submit a well-tested fix back to me.

:idea: You can easily earn yourself a free license by contributing.
:idea: Please read the FAQ and How to Request Help.
Post Reply