I have been using XStream on Android for a couple of years, it always worked well. However, in my latest project I get this error:

java.lang.RuntimeException: Stub!
at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:14) at com.thoughtworks.xstream.io.xml.XppDriver.createParser(XppDriver.java:57)

I use Android Jellybean, I take it they made changes in the XmlPullParserFactory, causing the Stub! error. I have seen Stub errors in Android HttpClient also, so you have to have a valid httpClient jar which is higher on the "order and export" list than android.jar.

I have solved my problem with xstream by supplying a jar containging an XmlPullParserFactory class, I use xpp3-1.1.2a.jar. Would this be the right jar?

dagdag
Christine

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to