XStream
  1. XStream
  2. XSTR-553

Xstream + Android: InitializationException: No com.thoughtworks.xstream.mapper.AnnotationMapper available when using annotation

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: Annotations
    • Labels:
      None
    • JDK version and platform:
      Android 1.1

      Description

      When using XStream for deserialization with Android 1.1, and using annotations (both autodetectAnnotations(true) and processAnnotations()), I get:

      com.thoughtworks.xstream.XStream$InitializationException: No com.thoughtworks.xstream.mapper.AnnotationMapper available

      When using explicit non-annotated aliases etc. the deserialization works perfectly. Would it be that Dalvik somehow filters out the AnnotationMapper.class from the jar??

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          pjv
        • Votes:
          1 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: