Page 1 of 1
NullPointerException error
Posted: 08 Aug 2016, 07:53
by Wolfie
Code: Select all
NullPointerException: element cannot be mapped to a null key
Happens when an item is not found on TheMovieDB.
"Quantum Leap - A Leap to Di for (2009)"
"The Dark Knight Rises T4 Premiere Special (2012)"
They exist on OMDb but not TMDB. Still, it prevents others from being matched.
Re: NullPointerException error
Posted: 08 Aug 2016, 07:55
by rednoah
Those files work fine for me with both TMDb (no match, asks) and OMDb (just works). There should be a full stacktrace in the error.log in the filebot app data folder. Please post that.
Re: NullPointerException error
Posted: 08 Aug 2016, 15:20
by Wolfie
Had upgraded last night to (4163?) and may have forgotten to do a clear-cache. Saw there was an update to 4.7.2, upgraded to that, clear-cache, now running with no errors. It's still loading data though, is that by design?
Re: NullPointerException error
Posted: 08 Aug 2016, 16:00
by rednoah
I may have fixed this issue by refactoring the code. Without the error.log I can't say for sure where it came from.
Wolfie wrote:It's still loading data though, is that by design?
For example? What data? Not at all sure what you're referring to here.

Re: NullPointerException error
Posted: 08 Aug 2016, 23:39
by Wolfie
Like when I select either of the two files I mentioned, I select TMDB and it's still resolving to the correct metadata. But there is no tmdbid associated with it. Is it pulling it from the file's metadata?
Re: NullPointerException error
Posted: 09 Aug 2016, 06:55
by rednoah
If you have previously renamed with OMDb then there might be xattr metadata without a TMDb ID.
So:
1. Rename movie that's not in TMDb with OMDb and tag with xattr metadata
2. Run through TMDb and see what happens?
Not sure. I guess nobody has ever tested this.
