SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Exception thrown when matching to MusicBrainz album

Some tracks fo some albums do not update when matching to a specified MusicBrainz album due to a silent exception.

Tested on version 11.5.1 build (1183).

Here’s an example stacktrace:

02/06/2022 07.53.31:com.jthink.jaikoz.manipulate.acousticbrainzhelper.Mood:inferMoodFromValenceArousal:SEVERE: Unable to infer mood for:C:\Users\Greg\Music\Rip\New\Blam Blam Blam\The Complete Blam Blam Blam\18 - Track18.flac:Valence:81.62Arousal:-1.0399997angle:359.2699783347331
02/06/2022 07.53.31:com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzUpdateSong:updateSongFromMusicBrainz:SEVERE: Cannot read field “text” because “matchingMood” is null
java.lang.NullPointerException: Cannot read field “text” because “matchingMood” is null
at com.jthink.jaikoz.manipulate.acousticbrainzhelper.Mood.inferMoodFromValenceArousal(Mood.java:203)
at com.jthink.jaikoz.manipulate.acousticbrainzhelper.Mood.setMoodValenceArousal(Mood.java:154)
at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzUpdateSong.calculateMoodAndValence(MusicBrainzUpdateSong.java:1420)
at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzUpdateSong.updateAcousticBrainz(MusicBrainzUpdateSong.java:1397)
at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzUpdateSong.updateSongFromMusicBrainz(MusicBrainzUpdateSong.java:1214)
at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzUpdateSong.updateSongsFromMusicBrainz(MusicBrainzUpdateSong.java:1089)
at com.jthink.jaikoz.manipulate.musicbrainzhelper.UpdateTrackFromMusicbrainzRelease.updateSongsFromRelease(UpdateTrackFromMusicbrainzRelease.java:60)
at com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzRelease.analyseData(MatchSongsToMusicBrainzRelease.java:325)
at com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzRelease.run(MatchSongsToMusicBrainzRelease.java:103)
at java.base/java.lang.Thread.run(Thread.java:833)
02/06/2022 07.53.31:com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzUpdateSong:updateSongFromMusicBrainz:SEVERE: RecNo:18 is being updated
02/06/2022 07.53.31:com.jthink.jaikoz.manipulate.discogshelper.DiscogsUpdate:updateMatchedToMusicBrainzSongsFromDiscogs:SEVERE: MatchedToOneReleaseC:\Users\Greg\Music\Rip\New\Blam Blam Blam\The Complete Blam Blam Blam\01 - There Is No Depression in New Zealand.flac:386407:19
02/06/2022 07.53.32:com.jthink.jaikoz.manipulate.discogshelper.DiscogsUpdate:findBestDiscogsCoverArt:SEVERE: 12:The Complete Blam Blam Blam:Artwork 1200 smaller than preferred size 3000 so check Discogs
02/06/2022 07.53.32:com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzRelease:analyseData:WARNING: com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzReleaseBySpecifiedId:Ended
02/06/2022 07.53.32:com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzRelease:run:WARNING: com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzReleaseBySpecifiedId:Ended
02/06/2022 07.53.32:com.jthink.jaikoz.indexed.DataIndexer:updateRowsInIndex:SEVERE: Updating 19 rows

Thanks found error and fixed for next release. In the meantime this code is only called if you have Jaikoz enabled to add Mood field. So if you add it to the MusicBrainz:Format:Never modify these fields list that should allow your tracks to be updated without error.

Fixed in Jaikoz 11.5.2 Sebadoh released July 13th 2022