org.simpleframework.xml.core.InstantiationException: Type class java.util.ArrayList is not compatible with class java.lang.String

Coderanch | Henry Wong | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.util.ArrayList is not compatible with class java.lang.String exception

    Coderanch | 8 years ago | Henry Wong
    org.simpleframework.xml.core.InstantiationException: Type class java.util.ArrayList is not compatible with class java.lang.String

    Root Cause Analysis

    1. org.simpleframework.xml.core.InstantiationException

      Type class java.util.ArrayList is not compatible with class java.lang.String

      at org.simpleframework.xml.core.Factory.getOverride()
    2. Simple XML
      Primitive.readElement
      1. org.simpleframework.xml.core.Factory.getOverride(Factory.java:105)
      2. org.simpleframework.xml.core.PrimitiveFactory.getInstance(PrimitiveFactory.java:66)
      3. org.simpleframework.xml.core.Primitive.readElement(Primitive.java:181)
      3 frames