io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: ahJkZXZ-Y2hyaXNjYW1wLTEzMTlyDAsSCHByb2dyYW1zDA

GitHub | chrisolsen | 2 months ago
  1. 0

    copyToRealmOrUpdate fails with RealmPrimaryKeyConstraintException: Value already exists

    GitHub | 2 months ago | chrisolsen
    io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: ahJkZXZ-Y2hyaXNjYW1wLTEzMTlyDAsSCHByb2dyYW1zDA
  2. 0

    Realm : getTable() delete all then copyToRealm

    Stack Overflow | 10 months ago | Miguel Victor
    io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: 18
  3. 0

    I want to add object to realm DB every time an item is clicked from the recyclerview

    Stack Overflow | 4 months ago | Nukhba Arshad
    io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RealmPrimaryKeyConstraintException: Value already exists: 0

    GitHub | 3 months ago | mehrdaad
    io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists: 0
  6. 0

    createOrUpdateObjectFromJson throw RealmPrimaryKeyConstraintException: Value already exists:

    GitHub | 11 months ago | Ralphilius
    io.realm.exceptions.RealmPrimaryKeyConstraintException: Value already exists:

  1. brunosatriani 54 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. io.realm.exceptions.RealmPrimaryKeyConstraintException

    Value already exists: ahJkZXZ-Y2hyaXNjYW1wLTEzMTlyDAsSCHByb2dyYW1zDA

    at io.realm.internal.Table.throwDuplicatePrimaryKeyException()
  2. io.realm.internal
    Table.addEmptyRowWithPrimaryKey
    1. io.realm.internal.Table.throwDuplicatePrimaryKeyException(Table.java:664)
    2. io.realm.internal.Table.addEmptyRowWithPrimaryKey(Table.java:435)
    3. io.realm.internal.Table.addEmptyRowWithPrimaryKey(Table.java:387)
    3 frames
  3. io.realm
    Realm.createObject
    1. io.realm.Realm.createObjectInternal(Realm.java:865)
    2. io.realm.Realm.createObject(Realm.java:845)
    2 frames