XStream
  1. XStream
  2. XSTR-659

XStream fails on deserialization with xmlpull.jar and kxml2-min.jar

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      OpenJDK 1.60_22 (Linux)

      Description

      The following test fails with a stacktrace if xstream.jar, xmlpull.jar and kxml2-min.jar are present on classpath.

      import com.thoughtworks.xstream.XStream;

      public class Test {

      private String test;

      public static void main(String[] args)

      { new XStream().fromXML("<Test><name>Test</name></Test>"); }

      }

      Exception in thread "main"
      com.thoughtworks.xstream.io.StreamException: Cannot create
      XmlPullParser
      at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:60)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:895)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:886)
      at Test.main(Test.java:8)

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Maik Jablonski
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: