Invalid Fingerprint can cause match to not complete

Description

Invalid Fingerprint can cause match to not complete, not only will match by fingerprint fail but the exception propogates to prevent a metadata match as well, exception must be caught earlier.

<response><status>error</status><error><message>invalid fingerprint</message><code>3</code></error></response>

23/02/2017 08.27.50:GMT:com.jthink.acoustid.query.AbstractAcoustidQuery:doPerformQuery:SEVERE: Acoustid Exception looking up from AcoustId:<?xml version='1.0' encoding='UTF-8'?>
<response><status>error</status><error><message>invalid fingerprint</message><code>3</code></error></response>

com.jthink.acoustid.exception.AcoustidException: <?xml version='1.0' encoding='UTF-8'?>
<response><status>error</status><error><message>invalid fingerprint</message><code>3</code></error></response>

at com.jthink.acoustid.query.AbstractAcoustidQuery.doPerformQuery(AbstractAcoustidQuery.java:299)
at com.jthink.acoustid.query.AbstractAcoustidQuery.performQuery(AbstractAcoustidQuery.java:227)
at com.jthink.acoustid.query.AcoustIdQuery.lookupReleasesForFingerprints(AcoustIdQuery.java:466)
at com.jthink.acoustid.query.AcoustIdQuery.lookupReleasesWithSourcesForFingerprints(AcoustIdQuery.java:342)
at com.jthink.songkong.analyse.acoustid.AcoustId.getReleasesThatMatchSongsUptoMaxLimit(AcoustId.java:721)
at com.jthink.songkong.analyse.acoustid.AcoustId.getReleasesThatMatchFingerprints(AcoustId.java:679)
at com.jthink.songkong.analyse.acoustid.AcoustId.getReleasesThatMatchSongs(AcoustId.java:634)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.getReleasesByAcoustid(AbstractMusicBrainzGroupMatcher.java:555)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.queryForReleases(AbstractMusicBrainzGroupMatcher.java:337)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.matchSongsToRelease(AbstractMusicBrainzGroupMatcher.java:151)
at com.jthink.songkong.analyse.analyser.AbstractMusicBrainzGroupMatcher.matchSongs(AbstractMusicBrainzGroupMatcher.java:87)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher1.doTask(MusicBrainzSongGroupMatcher1.java:225)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher.call(MusicBrainzSongGroupMatcher.java:459)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher1.call(MusicBrainzSongGroupMatcher1.java:79)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongGroupMatcher1.call(MusicBrainzSongGroupMatcher1.java:22)
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

Paul Taylor

Labels

None

Forum Username

paul

os

None

Components

Fix versions

Affects versions

4.6

Priority

Major
Configure