java.lang.ArrayStoreException: java.lang.String cannot be stored in an array of type java.lang.Object[]

ormlite | *anonymous | 5 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

    MappedQueryForId logArgs Exception

    ormlite | 5 years ago | *anonymous
    java.lang.ArrayStoreException: java.lang.String cannot be stored in an array of type java.lang.Object[]

    Root Cause Analysis

    1. java.lang.ArrayStoreException

      java.lang.String cannot be stored in an array of type java.lang.Object[]

      at com.j256.ormlite.stmt.mapped.MappedQueryForId.logArgs()
    2. ORMLite Core
      StatementExecutor.query
      1. com.j256.ormlite.stmt.mapped.MappedQueryForId.logArgs(MappedQueryForId.java:85)
      2. com.j256.ormlite.stmt.mapped.MappedQueryForId.execute(MappedQueryForId.java:48)
      3. com.j256.ormlite.field.FieldType.assignField(FieldType.java:490)
      4. com.j256.ormlite.stmt.mapped.BaseMappedQuery.mapRow(BaseMappedQuery.java:63)
      5. com.j256.ormlite.stmt.SelectIterator.nextThrow(SelectIterator.java:108)
      6. com.j256.ormlite.stmt.StatementExecutor.query(StatementExecutor.java:139)
      6 frames