kinyerakenneth / lastfm-java

Automatically exported from code.google.com/p/lastfm-java
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

SAXParseException #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Calling Artist.getTopTags
2. Using default Cache policy
3.

What is the expected output? What do you see instead?
Some calls produce these exceptions, not all of them

What version of the product are you using? On what operating system?
Windows 8

Please provide any additional information below.

de.umass.lastfm.CallException: org.xml.sax.SAXParseException; lineNumber: 1; 
columnNumber: 1; Premature end of file.
    at de.umass.lastfm.Caller.call(Caller.java:268)
    at de.umass.lastfm.Caller.call(Caller.java:189)
    at de.umass.lastfm.Caller.call(Caller.java:185)
    at de.umass.lastfm.Artist.getTopTags(Artist.java:197)
    at com.musar.musicrecommendation.MusicRecommendation.buildFeatureMatrix(MusicRecommendation.java:128)
    at com.musar.musicrecommendation.MusicRecommendation.train(MusicRecommendation.java:44)
    at com.musar.musicrecommendation.MusicRecommendation.<init>(MusicRecommendation.java:34)
    at com.musar.musicrecommendation.MusicRecommendation.main(MusicRecommendation.java:155)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 
Premature end of file.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at de.umass.lastfm.Caller.createResultFromInputStream(Caller.java:324)
    at de.umass.lastfm.Caller.call(Caller.java:256)

Original issue reported on code.google.com by haronshi...@gmail.com on 27 Jun 2014 at 8:35