io.realm.exceptions.RealmError: Unrecoverable error. Data type mismatch in io_realm_internal_TableQuery.cpp line 886

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

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

    GitHub | 7 months ago | beeender
    io.realm.exceptions.RealmError: Unrecoverable error. Data type mismatch in io_realm_internal_TableQuery.cpp line 886

    Root Cause Analysis

    1. io.realm.exceptions.RealmError

      Unrecoverable error. Data type mismatch in io_realm_internal_TableQuery.cpp line 886

      at io.realm.internal.TableQuery.nativeEqual()
    2. io.realm.internal
      TableQuery.equalTo
      1. io.realm.internal.TableQuery.nativeEqual(Native Method)
      2. io.realm.internal.TableQuery.equalTo(TableQuery.java:350)
      2 frames
    3. io.realm
      RealmQuery.equalTo
      1. io.realm.RealmQuery.equalTo(RealmQuery.java:263)
      2. io.realm.RealmQuery.equalTo(RealmQuery.java:249)
      2 frames
    4. com.xx.xxx
      xxxxxxx.getXXXByVid
      1. com.xx.xxx.data.xxxxxxx.getXXXByVid(xxx.java:98)
      1 frame