Page 1 of 1

FileBot - Error while loading XML resource - NullPointerExce

Posted: 17 Jan 2016, 12:42
by GamesGamble
When using TheTVDB:

Code: Select all

Jan 17, 2016 1:31:56 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2 done
WARNUNG: IOException: Error while loading XML resource: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (java.io.IOException: Malformed XML: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (Vorzeitiges Dateiende.))
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.io.IOException: Error while loading XML resource: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (java.io.IOException: Malformed XML: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (Vorzeitiges Dateiende.))
        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.io.IOException: Error while loading XML resource: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (java.io.IOException: Malformed XML: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (Vorzeitiges Dateiende.))
        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.io.IOException: Error while loading XML resource: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (java.io.IOException: Malformed XML: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (Vorzeitiges Dateiende.))
        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.io.IOException: Error while loading XML resource: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (java.io.IOException: Malformed XML: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (Vorzeitiges Dateiende.))
        at net.filebot.web.CachedXmlResource.getDocument(CachedXmlResource.java:35)
        at net.filebot.web.TheTVDBClient.getXmlResource(TheTVDBClient.java:325)
        at net.filebot.web.TheTVDBClient.getMirror(TheTVDBClient.java:274)
        at net.filebot.web.TheTVDBClient.getResourceURL(TheTVDBClient.java:334)
        at net.filebot.web.TheTVDBClient$1.getResourceLocation(TheTVDBClient.java:319)
        at net.filebot.web.CachedXmlResource.getDocument(CachedXmlResource.java:35)
        at net.filebot.web.TheTVDBClient.getXmlResource(TheTVDBClient.java:325)
        at net.filebot.web.TheTVDBClient.fetchSearchResult(TheTVDBClient.java:101)
        at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$001(WebServices.java:120)
        at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$9(WebServices.java:152)
        ... 4 more
when using TVMaze:

Code: Select all

Jan 17, 2016 1:37:12 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2 done
WARNUNG: 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:103)
        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
reinstalling did not fix the problem.

Sys 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_66
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\Joscha\AppData\Roaming\FileBot
Done ?(?????)?
Something rly broken... Yesterday TvMaze was working fine, TheTVDB wasn´t working since i reinstalled my os. I'd only installed CS GO not more not less :D

Re: FileBot - Error while loading XML resource - NullPointer

Posted: 17 Jan 2016, 15:22
by rednoah
1.
That's a TheTVDB API issue. It's sending back bad data. You might wanna report that in the TheTVDB forums:

Code: Select all

java.io.IOException: Malformed XML: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml (Vorzeitiges Dateiende.)
Just wait a few days. Try clear cache. This issue should resolve itself by itself. Works fine for me here.


2.
The TVMaze issue is completely unrelated. Probably just some missing data in the XML data that FileBot doesn't account for yet:

Code: Select all

java.lang.NullPointerException
Fixed with r3438.