java.lang.IllegalArgumentException: Field 'xxx': type mismatch. Was DATE, expected [STRING].

GitHub | beeender | 7 months 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

    IllegalArgumentException: Field 'xxx': type mismatch. Was DATE

    GitHub | 7 months ago | beeender
    java.lang.IllegalArgumentException: Field 'xxx': type mismatch. Was DATE, expected [STRING].
  2. 0

    GitHub comment 1319#148993844

    GitHub | 1 year ago | diegomontoya
    java.lang.IllegalArgumentException: Field 'status': type mismatch. Was INTEGER, expected STRING.
  3. 0

    Field 'xxx': type mismatch. Was INTEGER, expected STRING

    GitHub | 1 year ago | diegomontoya
    java.lang.IllegalArgumentException: Field 'status': type mismatch. Was INTEGER, expected STRING.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. bayukresno 1 times, last 8 months ago

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Field 'xxx': type mismatch. Was DATE, expected [STRING].

    at io.realm.RealmObjectSchema.getColumnIndices()
  2. io.realm
    RealmQuery.equalTo
    1. io.realm.RealmObjectSchema.getColumnIndices(RealmObjectSchema.java:618)
    2. io.realm.RealmQuery.equalTo(RealmQuery.java:262)
    3. io.realm.RealmQuery.equalTo(RealmQuery.java:249)
    3 frames
  3. com.xxx.xx
    xxx.getLatestMsg
    1. com.xxx.xx.data.xxx.getLatestMsg(xxx.java:80)
    1 frame