We're updating the issue view to help you get more done. 

Discogs NullPointer when configured to update no fields if trackno,discno not added

Description

so if we match to Musicbrainz , it links to Discogs but we dont allow trackno and discno fields to be added and they are currenltry blank can cause this exception. Noticed when just try to add artwork only.

java.lang.NullPointerException
at com.jthink.songkong.analyse.discogs.DiscogsUpdate.updateMatchedToMusicBrainzSongsFromDiscogs(DiscogsUpdate.java:253)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.scoreAndUpdateWithBestMatch(AbstractMusicBrainzGroupMatcher.java:231)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.matchSongsToRelease(AbstractMusicBrainzGroupMatcher.java:160)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.matchSongs(AbstractMusicBrainzGroupMatcher.java:89)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher1.doTask(MusicBrainzSongGroupMatcher1.java:222)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher.call(MusicBrainzSongGroupMatcher.java:438)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher1.call(MusicBrainzSongGroupMatcher1.java:80)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher1.call(MusicBrainzSongGroupMatcher1.java:23)
at java.util.concurrent.FutureTask.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)

Environment

None

Status

Assignee

Unassigned

Reporter

IJabz

Labels

None

Forum Username

paul

os

None

Fix versions

Affects versions

4.11

Priority

Major