NullPointerException error

All your suggestions, requests and ideas for future development
Post Reply
User avatar
Wolfie
Posts: 128
Joined: 27 Oct 2015, 02:59

NullPointerException error

Post 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.
User avatar
rednoah
The Source
Posts: 24034
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NullPointerException error

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 128
Joined: 27 Oct 2015, 02:59

Re: NullPointerException error

Post 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?
User avatar
rednoah
The Source
Posts: 24034
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NullPointerException error

Post 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. :lol:
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 128
Joined: 27 Oct 2015, 02:59

Re: NullPointerException error

Post 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?
User avatar
rednoah
The Source
Posts: 24034
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NullPointerException error

Post 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. :D
:idea: Please read the FAQ and How to Request Help.
Post Reply