Drop in users internet connection caused NullPointerException

Description

Drop in users internet connection caused NullPOinterException

java.lang.NullPointerException
at com.jthink.songkong.analyse.analyser.DiscogsSongGroupMatcher.call(DiscogsSongGroupMatcher.java:55)
at com.jthink.songkong.analyse.analyser.DiscogsSongGroupMatcher.call(DiscogsSongGroupMatcher.java:27)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
14/07/2020 18.12.26:SGT:Errors:addError:SEVERE: Adding Error:Unable to match group to Discogs:M:\music\Tims Music\Madonna\Ray of Light:null
java.lang.NullPointerException
at com.jthink.songkong.analyse.analyser.DiscogsSongGroupMatcher.call(DiscogsSongGroupMatcher.java:55)
at com.jthink.songkong.analyse.analyser.DiscogsSongGroupMatcher.call(DiscogsSongGroupMatcher.java:27)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

which led to UnexpectedEror being shown in final report

Activity

Show:
IJabz
July 17, 2020, 7:57 AM

Fixed.

IJabz
July 17, 2020, 7:56 AM

Due do doMatch() returning null instead of false when failed to find match due to lack of internet

Fixed

Reporter

IJabz

Forum Username

wizardOfOz