Page 1 of 1

[Bug] NullPointerException on "What's New Scooby-Doo?"

Posted: 14 Mar 2016, 04:19
by snarfel
Trying to run file bot on a DVD rip of What's New Scooby-Doo? episode (or any episode ripped) called "There's No Creature Like Snow Creature" on TVmaze yields a null pointer exception. I suspect it has to do with the show title in TVmaze "?" being considered an invalid character, but there's no way from the user side to remove it.

Console output:

Code: Select all

Mar 13, 2016 9:14:12 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2 done
WARNING: NullPointerException: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at javax.swing.SwingWorker.get(Unknown Source)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.done(RenamePanel.java:882)
        at javax.swing.SwingWorker$5.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at sun.swing.AccumulativeRunnable.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at net.filebot.ui.rename.EpisodeListMatcher.match(EpisodeListMatcher.java:234)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(RenamePanel.java:867)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(RenamePanel.java:863)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at net.filebot.ui.rename.EpisodeListMatcher.fetchEpisodeSet(EpisodeListMatcher.java:160)
        at net.filebot.ui.rename.EpisodeListMatcher.matchEpisodeSet(EpisodeListMatcher.java:281)
        at net.filebot.ui.rename.EpisodeListMatcher$4.call(EpisodeListMatcher.java:219)
        at net.filebot.ui.rename.EpisodeListMatcher$4.call(EpisodeListMatcher.java:215)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        ... 3 more
Caused by: java.lang.NullPointerException
        at net.filebot.web.TVMazeClient.fetchSeriesInfo(TVMazeClient.java:88)
        at net.filebot.web.TVMazeClient.fetchSeriesData(TVMazeClient.java:113)
        at net.filebot.web.AbstractEpisodeListProvider.getSeriesData(AbstractEpisodeListProvider.java:73)
        at net.filebot.web.AbstractEpisodeListProvider.getEpisodeList(AbstractEpisodeListProvider.java:44)
        at net.filebot.ui.rename.EpisodeListMatcher$2.call(EpisodeListMatcher.java:147)
        at net.filebot.ui.rename.EpisodeListMatcher$2.call(EpisodeListMatcher.java:136)
        ... 4 more
Filebot Info:

Code: Select all

FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_74
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 21 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Data: C:\Users\SomeUser\AppData\Roaming\FileBot
Done ?(?????)?

Re: [Bug] NullPointerException on "What's New Scooby-Doo?"

Posted: 14 Mar 2016, 05:41
by rednoah
It's got nothing to do with any specific characters. It's just broken. Use TheTVDB, wait for the next release, or try the latest revision.

Have you tried the latest revision?
viewtopic.php?f=7&t=1609

Re: [Bug] NullPointerException on "What's New Scooby-Doo?"

Posted: 14 Mar 2016, 05:49
by snarfel
rednoah wrote:It's got nothing to do with any specific characters. It's just broken. Use TheTVDB, wait for the next release, or try the latest revision.

Have you tried the latest revision?
viewtopic.php?f=7&t=1609
Yeah per the filebot status in the OP I'm using 4.6.1 which TMK is the latest release and when TVmaze support was added. I tried TVDB but it keeps labeling all the episodes as part of "Scooby-Doo, Where are you!" despite changing the episodes to use a schema like "What's New Scooby-Doo - 101 - Theres No Creature Like Snow Creature"

EDIT: Got the latest rev of 4.6.1 and it works fine now with TVmaze. Didn't realize because it didn't use something else other than 4.6.1 there was a stable version even if it wasn't named 4.6.2 or something.

Re: [Bug] NullPointerException on "What's New Scooby-Doo?"

Posted: 14 Mar 2016, 06:04
by rednoah
1.
Please give me the filenames that don't work. I don't know the filenames, so I can't tell you why automatic matching doesn't work.


I've tried with this filename, and it works out of the box:

Code: Select all

What's New Scooby-Doo -- There's No Creature Like Snow Creature

2.
The data is there just fine, so you can do manual matching. See Getting Started, Page 2.

Re: [Bug] NullPointerException on "What's New Scooby-Doo?"

Posted: 14 Mar 2016, 06:07
by snarfel
rednoah wrote:1.
Please give me the filenames that don't work. I don't know the filenames, so I can't tell you why automatic matching doesn't work.

2.
The data is there just fine, so you can do manual matching. See Getting Started, Page 2.
Edited my post right before you responded, everything checks out now with rev 3717(?) of 4.6.1

Re: [Bug] NullPointerException on "What's New Scooby-Doo?"

Posted: 14 Mar 2016, 06:09
by rednoah
TheTVDB and TVmaze episode data seems to be the same, so automatic matching should work the same for both data sources. What's the filename that doesn't work?