Uploaded image for project: 'SongKong'
  1. SONGKONG-1347

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.11
    • Fix Version/s: 4.12
    • Component/s: None
    • Labels:
      None
    • Forum Username:
      paul

      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)

        Attachments

          Activity

            People

            • Reporter:
              ijabz IJabz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: