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 chrisolsen
, 1 year ago
Value already exists: ahJkZXZ-Y2hyaXNjYW1wLTEzMTlyDAsSCHByb2dyYW1zDA
io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: 0 at io.realm.internal.Table.throwDuplicatePrimaryKeyException(Table.java:721) at io.realm.internal.Table.addEmptyRowWithPrimaryKey(Table.java:473) at io.realm.Realm.createObject(Realm.java:708) at io.realm.fav_placesRealmProxy.copy(fav_placesRealmProxy.java:397) at io.realm.fav_placesRealmProxy.copyOrUpdate(fav_placesRealmProxy.java:387) 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.nuku.mc.populate_recyclerview.realmHelper$1.execute(realmHelper.java:36) at io.realm.Realm.executeTransaction(Realm.java:1065) at com.nuku.mc.populate_recyclerview.realmHelper.save(realmHelper.java:31) at com.nuku.mc.populate_recyclerview.placesAdapter$ViewHolder.onClick(placesAdapter.java:159) at android.view.View.performClick(View.java:4212) at android.view.View$PerformClick.run(View.java:17476) at android.os.Handler.handleCallback(Handler.java:800) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5371)