Page 1 of 1

BUG - IllegalStateException: Duplicate key java.util.concurrent.FutureTask@

Posted: 10 Jun 2017, 15:14
by asc3nti0n
Evening,
I'm using the current Mac App Store version of filebot.
Sysinfo courtesy of groovypad:

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: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 361 MB Used Memory
OS: Mac OS X (x86_64)
Package: MAS
uname: Darwin Meow.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
Here's the Filebot (console) info.. I do have a brew install that I haven't used for a while... shouldn't matter in this instance that it's even installed:

Code: Select all

computer:folder username$ filebot -script fn:sysinfo
FileBot 4.7.5 (r4600)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_102
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 162 MB Used Memory
OS: Mac OS X (x86_64) 
Package: APP
uname: Darwin Meow.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64

------------------- UPDATE AVAILABLE: FileBot 4.7.9 (r4984) --------------------
Mac OS X 10.12.5 (very latest, updated last night).
I'm moving all my Movies from one naming convention, to a slightly better one, updating the folder structure as I go along...
I have completed the rename of a local HDD's movies, and the main NAS movies, now that i've moved onto the NAS's eSATA satellite (still mounted via smb://) I'm getting this error:
Image

Code: Select all

IllegalStateException: Duplicate key java.util.concurrent.FutureTask@########
There's a different eight-digit hexadecimal key at the end each time I load up a different folder of movies
I'm getting the Java popup exception notification when I select the Match>SmartMode>Autodetect.
I don't get any 'New Names' results of the search.
For the same list of movies in the 'Original Files' pane, I get the same key every time.
I can choose to Match>MovieMode>TheMovieDB directly, and I get results... and I can rename...

Any clue why I would be getting the jawa errors on autodetect, most of the time npw, where I wasn't a couple of hours ago? I want to be able to use the Autodetect...

Re: BUG - IllegalStateException: Duplicate key java.util.concurrent.FutureTask@

Posted: 10 Jun 2017, 17:03
by rednoah
Strange. I've never seen that one before... There should be more thorough logs and stacktraces in the error.log file:

Code: Select all

$HOME/Library/Containers/net.filebot.FileBot/Data/Library/Application Support/User Data
:arrow: Please post the contents of the error log file. Preferably on pastebin.

Re: BUG - IllegalStateException: Duplicate key java.util.concurrent.FutureTask@

Posted: 10 Jun 2017, 23:59
by asc3nti0n
Logfile (end tail of it) at https://pastebin.com/kSNcf9PF
The error.log is 6.5MB in total, can only pastebin 512kB... the majority is a fetch error that I received on May28 ... not applicable to this error, so I'll post just hte tail of it.

Re: BUG - IllegalStateException: Duplicate key java.util.concurrent.FutureTask@

Posted: 11 Jun 2017, 02:34
by rednoah
There is probably a small set of files, that in combination and odd circumstance, cause this issue. Can you narrow down which subset of files is causing the problem?

I will need all the file paths (as text) that you have loaded into FileBot when this issue occurs. After loading files into FileBot, you can press F7 to copy all the paths to the clipboard.

If you test with thousands of files at the same time, try to narrow down step by step by only loading half, and then half of that half, until you find which small set of files is causing the issue.