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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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