kinyerakenneth / lastfm-java

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

XML parse problem #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Every now and then I get XML parsing errors. This error has been reported for 
an Android app of mine, sadly I do not have more info except for the artist id: 
70248960-cb53-4ea4-943a-edb18f7d336f (Bruce Springsteen).

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: de.umass.lastfm.CallException: org.xml.sax.SAXParseException: 
expected: /META read: HEAD (position:END_TAG </HEAD>@1:338 in 
java.io.InputStreamReader@41bce0e0) 
at de.umass.lastfm.Caller.call(Caller.java:268)
at de.umass.lastfm.Caller.call(Caller.java:189)
at de.umass.lastfm.Artist.getEvents(Artist.java:301)
at 
nl.jborsje.android.bandnews.event.LastFMEventLoadTask.doInBackground(LastFMEvent
LoadTask.java:40)
at 
nl.jborsje.android.bandnews.event.LastFMEventLoadTask.doInBackground(LastFMEvent
LoadTask.java:18)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 4 more
Caused by: org.xml.sax.SAXParseException: expected: /META read: HEAD 
(position:END_TAG </HEAD>@1:338 in java.io.InputStreamReader@41bce0e0) 
at 
org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.jav
a:146)
at de.umass.lastfm.Caller.createResultFromInputStream(Caller.java:324)
at de.umass.lastfm.Caller.call(Caller.java:256)
... 10 more

Original issue reported on code.google.com by jethroborsje on 20 May 2013 at 9:57

GoogleCodeExporter commented 9 years ago
Another one:
Caused by: org.xml.sax.SAXParseException: Unexpected <! (position:TEXT 
(whitespace)@7:9 in java.io.InputStreamReader@41510b98) 
at 
org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.jav
a:146)
at de.umass.lastfm.Caller.createResultFromInputStream(Caller.java:324)
at de.umass.lastfm.Caller.call(Caller.java:256)
... 9 more

Original comment by jethroborsje on 21 May 2013 at 2:23

GoogleCodeExporter commented 9 years ago
Can you describe steps to reproduce the error?

Original comment by dmitrykr...@gmail.com on 31 May 2013 at 6:29

GoogleCodeExporter commented 9 years ago
I haven't had it myself yet, these are reports from my users through the Google 
Play store.

Original comment by jethroborsje on 31 May 2013 at 7:05