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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by beeender
, 1 year ago
Field 'xxx': type mismatch. Was DATE, expected [STRING].
via GitHub by FFY00
, 2 months ago
Field 'cell' does not exist.
via GitHub by Rbagman
, 10 months ago
Field 'cell' does not exist.
java.lang.IllegalArgumentException: Field 'xxx': type mismatch. Was DATE, expected [STRING].
at io.realm.RealmObjectSchema.getColumnIndices(RealmObjectSchema.java:618)
at io.realm.RealmQuery.equalTo(RealmQuery.java:262)
at io.realm.RealmQuery.equalTo(RealmQuery.java:249)
at com.xxx.xx.data.xxx.getLatestMsg(xxx.java:80)

Users with the same issue

Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.