java.lang.NoSuchMethodError: No virtual method get(I)Lio/realm/RealmObject; in class Lio/realm/RealmResults; or its super classes (declaration of 'io.realm.RealmResults' appears in /data/data/<package>/files/instant-run/dex/slice-io.realm-realm-android-library-0.89.0_1e0e323ab8ec35a6ebf8c8bfff373693aed24725-classes.dex)

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

Solutions on the web

via GitHub by alexodus
, 1 year ago
No virtual method get(I)Lio/realm/RealmObject; in class Lio/realm/RealmResults; or its super classes (declaration of 'io.realm.RealmResults' appears in /data/data/<package>/files/instant-run/dex/slice-io.realm-realm-android-library-0.89.0_1e0e323ab8ec35a6ebf8c8bfff373693aed24725-classes.dex)
java.lang.NoSuchMethodError: No virtual method get(I)Lio/realm/RealmObject; in class Lio/realm/RealmResults; or its super classes (declaration of 'io.realm.RealmResults' appears in /data/data/<package>/files/instant-run/dex/slice-io.realm-realm-android-library-0.89.0_1e0e323ab8ec35a6ebf8c8bfff373693aed24725-classes.dex)
at io.realm.RealmBasedRecyclerViewAdapter.getRealmRowId(RealmBasedRecyclerViewAdapter.java:376)
at io.realm.RealmBasedRecyclerViewAdapter.getIdsOfRealmResults(RealmBasedRecyclerViewAdapter.java:367)
at io.realm.RealmBasedRecyclerViewAdapter.updateRealmResults(RealmBasedRecyclerViewAdapter.java:335)
at io.realm.RealmBasedRecyclerViewAdapter.(RealmBasedRecyclerViewAdapter.java:198)
at io.realm.RealmBasedRecyclerViewAdapter.(RealmBasedRecyclerViewAdapter.java:105)

Users with the same issue

You are the first who have seen this exception.

Write tip

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