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

ormlite | *anonymous | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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