io.realm.exceptions.RealmPrimaryKeyConstraintException

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.

  • io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: 0 at io.realm.internal.Table.throwDuplicatePrimaryKeyException(Table.java:721) at io.realm.internal.Table.addEmptyRow(Table.java:414) at io.realm.Realm.createObject(Realm.java:688) at io.realm.RealmUserRealmProxy.copy(RealmUserRealmProxy.java:390) at io.realm.RealmUserRealmProxy.copyOrUpdate(RealmUserRealmProxy.java:381) at io.realm.DefaultRealmModuleMediator.copyOrUpdate(DefaultRealmModuleMediator.java:99) at io.realm.Realm.copyOrUpdate(Realm.java:1272) at io.realm.Realm.copyToRealm(Realm.java:727) at com.smartwavedev.genie.Activity.MainActivity.onCreate(MainActivity.java:200)

Users with the same issue

brunosatrianibrunosatriani
54 times, last one,