Open michaellavelle opened 12 years ago
If jackson mapper version > 1.8.5 is on the classpath, the following tests fail, indicating the error occurs when the JSON returned contains a single nested element instead of a nested list.
getRecentTracksSingleTrackResponse(org.springframework.social.lastfm.api.UserTemplateTest) getTopTracksSingleTrackResponse(org.springframework.social.lastfm.api.UserTemplateTest) getLibraryTracks_SingleTrackResponse(org.springframework.social.lastfm.api.UserTemplateTest) getShoutsSingleShoutResponse(org.springframework.social.lastfm.api.UserTemplateTest) getFriendsSingleFriendResponse(org.springframework.social.lastfm.api.UserTemplateTest) getLovedTracksSingleTrackResponse(org.springframework.social.lastfm.api.UserTemplateTest)
The following exception occurs within the getRecentTracks method if jackson mapper version 1.9.2 is on the classpath instead of the 1.8.5 pulled in by spring-social-lastfm
org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Can not deserialize instance of java.util.ArrayList out of FIELD_NAME token.