running 4.7.1 on linux mint I'm Attempting to rename movies and I'm getting an IndexOutOfBoundsException warning. it doesn't seem to matter what movie. TV shows work fine.
movie format is /home/strider/NAS/Movies/{n} ({y})/{n} ({y})
Yes, it's a bug caused by *.nfo files that don't contain tt1234567 IMDB ID patterns. Deleting those *.nfo files or updating to the latest revision will solve those problems.
I'm having this same issue on the latest release. Without any NFO files, selecting "Movie" mode with MovieDB causes this index out of bounds error. When trying the same file(s) in TV Mode, I don't see the error. Auto-Detect says "failed group" - perhaps no match? I'm going to downgrade back until I hear back. Thanks for a great program, however!
Edit: v4.7 works as expected. Confirming bug is only in new release.
I can re-do it and get logs if you tell me what you are looking for. And yes, I am sure there is no NFO -- it happens when I only select one single file running through the GUI, not cli.
imperialized wrote:I can re-do it and get logs if you tell me what you are looking for. And yes, I am sure there is no NFO -- it happens when I only select one single file running through the GUI, not cli.
I was having the same issue, I was only selecting the one .mkv file. Turns out, I did have a .url file in the same folder that was causing the issue.
Aug 05, 2016 7:34:50 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1 done
WARNING: IndexOutOfBoundsException: Index: 0, Size: 0
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:842)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at net.filebot.media.MediaDetection.grepMovie(MediaDetection.java:1220)
at net.filebot.ui.rename.MovieMatcher.match(MovieMatcher.java:116)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:827)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:823)
Aug 05, 2016 7:34:56 PM net.filebot.ui.rename.AutoDetectMatcher lambda$match$2
WARNING: Failed group: {Movie= XXX MOVIE NAME HERE XXX }
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at net.filebot.ui.rename.AutoDetectMatcher.lambda$match$2(AutoDetectMatcher.java:52)
at net.filebot.ui.rename.AutoDetectMatcher.match(AutoDetectMatcher.java:57)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:827)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:823)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at net.filebot.media.MediaDetection.grepMovie(MediaDetection.java:1220)
at net.filebot.ui.rename.MovieMatcher.match(MovieMatcher.java:116)
at net.filebot.ui.rename.AutoDetectMatcher.match(AutoDetectMatcher.java:68)
at net.filebot.ui.rename.AutoDetectMatcher.lambda$null$0(AutoDetectMatcher.java:46)
I'll try the new build now and report back. Just in case you still need these this should provide what you needed.