Match to Specified MusicBrainz Id allowing invalid null to be sent to MusicBrainz

Description

11/06/2017 21.34.25:com.jthink.jthinksearch.client.JthinkSearchServer:doQuery:SEVERE: :?type=release&query=reidnull ) AND src:1&limit=1&offset=0
11/06/2017 21.34.25:com.jthink.jthinksearch.client.JthinkSearchServer:doQuery:SEVERE: :URLEncoded:?type=release&query=reid%3A%28null+%29+AND+src%3A1&limit=1&offset=0
11/06/2017 21.34.25:com.jthink.mb.query.MusicBrainzServerQuery:doQuery:SEVERE: TagFromMusicbrainz:20:21:34:25:248:URL Decoded:http://musicbrainz.org/ws/2/release/null?inc=media labels recordings release-groups artist-credits isrcs
11/06/2017 21.34.25:com.jthink.mb.query.MusicBrainzServerQuery:doQuery:SEVERE: URL:http://musicbrainz.org/ws/2/release/null?inc=media labels recordings release-groups artist-credits isrcs failed with error code:400
11/06/2017 21.34.25:com.jthink.mb.query.MusicBrainzServerQuery:doQuery:SEVERE: URL:http://musicbrainz.org/ws/2/release/null?inc=media+labels+recordings+release-groups+artist-credits+isrcs encoded value
11/06/2017 21.34.25:com.jthink.mb.query.MusicBrainzServerQuery:analyseErrors:WARNING: Musicbrainz Query failed, returned:<?xml version="1.0" encoding="UTF-8"?><error><text>Invalid mbid.</text><text>For usage, please see: http://musicbrainz.org/development/mmd</text></error>

11/06/2017 21.34.26:com.jthink.mb.query.MusicBrainzServerQuery:doQuery:SEVERE: TagFromMusicbrainz:20:21:34:26:253:URL Decoded:http://musicbrainz.org/ws/2/release/null?inc=media labels recordings release-groups artist-credits isrcs
11/06/2017 21.34.26:com.jthink.mb.query.MusicBrainzServerQuery:doQuery:SEVERE: URL:http://musicbrainz.org/ws/2/release/null?inc=media labels recordings release-groups artist-credits isrcs failed with error code:400
11/06/2017 21.34.26:com.jthink.mb.query.MusicBrainzServerQuery:doQuery:SEVERE: URL:http://musicbrainz.org/ws/2/release/null?inc=media+labels+recordings+release-groups+artist-credits+isrcs encoded value
11/06/2017 21.34.26:com.jthink.mb.query.MusicBrainzServerQuery:analyseErrors:WARNING: Musicbrainz Query failed, returned:<?xml version="1.0" encoding="UTF-8"?><error><text>Invalid mbid.</text><text>For usage, please see: http://musicbrainz.org/development/mmd</text></error>

11/06/2017 21.34.26:com.jthink.mb.query.MusicBrainzServerQueryerformQuery:SEVERE: Error:400
com.jthink.mb.exception.InvalidMusicBrainzQueryException: Error:400
at com.jthink.mb.query.MusicBrainzServerQuery.doQuery(MusicBrainzServerQuery.java:449)
at com.jthink.mb.query.MusicBrainzServerQuery.doPerformQuery(MusicBrainzServerQuery.java:271)
at com.jthink.mb.query.MusicBrainzServerQuery.performQuery(MusicBrainzServerQuery.java:244)
at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzGetQuerys.getMusicBrainzAlbumByIdWithTracks(MusicBrainzGetQuerys.java:34)
at com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzReleaseBySpecifiedId.getReleases(MatchSongsToMusicBrainzReleaseBySpecifiedId.java:68)
at com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzRelease.analyseData(MatchSongsToMusicBrainzRelease.java:308)
at com.jthink.jaikoz.manipulate.MatchSongsToMusicBrainzRelease.run(MatchSongsToMusicBrainzRelease.java:101)
at java.lang.Thread.run(Thread.java:745)

Status

Reporter

Paul Taylor

Labels

None

Forum Username

jthomson

os

None

Fix versions

Affects versions

Priority

Major
Configure