java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.ClassCastException: com.example.RealmInteger cannot be cast to io.realm.internal.RealmObjectProxy at io.realm.DynamicRealmObject.setList(DynamicRealmObject.java:602) at com.example.RealmHelper$Migration$1.apply(RealmHelper.java:132) at io.realm.RealmObjectSchema.transform(RealmObjectSchema.java:475) at com.example.RealmHelper$Migration.migrate(RealmHelper.java:126) at io.realm.BaseRealm$3.onResult(BaseRealm.java:705) at io.realm.RealmCache.invokeWithGlobalRefCount(RealmCache.java:267) at io.realm.BaseRealm.migrateRealm(BaseRealm.java:685) at io.realm.Realm.migrateRealm(Realm.java:1221) at io.realm.Realm.migrateRealm(Realm.java:1208) at io.realm.Realm.createInstance(Realm.java:235) at io.realm.RealmCache.createRealmOrGetFromCache(RealmCache.java:126) at io.realm.Realm.getDefaultInstance(Realm.java:174) at com.example.RealmHelper.init(RealmHelper.java:86) at com.example.AppApplication.onCreate(AppApplication.java:95) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4751)
No Bugmate found.