android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: station._id (code 1555)

GitHub | ojacquemart | 1 year ago
  1. 0

    Logs error during stations update

    GitHub | 1 year ago | ojacquemart
    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: station._id (code 1555)
  2. 0

    exception on apg.db to openkeychain.db on Android 2.3

    GitHub | 3 years ago | dschuermann
    android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed
  3. 0

    Android: SQLite Constraint failed issue

    Stack Overflow | 3 years ago | Nitish
    android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQLiteConstraintException on inserting values in table

    Stack Overflow | 5 years ago | Waneya Iqbal
    android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed
  6. 0

    Find duplicate entries in SQLite database with Android

    Stack Overflow | 4 years ago | Mr.Mojo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{de.bertrandt.bertrandtknx/de.bertrandt.bertrandtknx.ProjectList}: android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed

  1. Agócs Tamás 2 times, last 8 months ago
1 unregistered visitors
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. android.database.sqlite.SQLiteConstraintException

    UNIQUE constraint failed: station._id (code 1555)

    at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId()
  2. Android Platform
    SQLiteDatabase.insertOrThrow
    1. android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
    2. android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782)
    3. android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
    4. android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
    5. android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1471)
    6. android.database.sqlite.SQLiteDatabase.insertOrThrow(SQLiteDatabase.java:1367)
    6 frames
  3. com.vlille.checker
    StationEntityManager.create
    1. com.vlille.checker.db.StationEntityManager.create(StationEntityManager.java:42)
    2. com.vlille.checker.db.StationEntityManager.create(StationEntityManager.java:15)
    2 frames
  4. org.droidparts.persist
    AbstractEntityManager$1.call
    1. org.droidparts.persist.sql.AbstractEntityManager$1.call(AbstractEntityManager.java:111)
    2. org.droidparts.persist.sql.AbstractEntityManager$1.call(AbstractEntityManager.java:102)
    2 frames
  5. org.droidparts.inner
    PersistUtils.executeInTransaction
    1. org.droidparts.inner.PersistUtils.executeInTransaction(PersistUtils.java:155)
    1 frame
  6. org.droidparts.persist
    AbstractEntityManager.create
    1. org.droidparts.persist.sql.AbstractEntityManager.executeInTransaction(AbstractEntityManager.java:148)
    2. org.droidparts.persist.sql.AbstractEntityManager.cud(AbstractEntityManager.java:127)
    3. org.droidparts.persist.sql.AbstractEntityManager.create(AbstractEntityManager.java:90)
    3 frames
  7. com.vlille.checker
    DBUpdaterAsyncTask.doInBackground
    1. com.vlille.checker.db.DBUpdater.update(DBUpdater.java:33)
    2. com.vlille.checker.ui.async.DBUpdaterAsyncTask.doInBackground(DBUpdaterAsyncTask.java:32)
    3. com.vlille.checker.ui.async.DBUpdaterAsyncTask.doInBackground(DBUpdaterAsyncTask.java:12)
    3 frames
  8. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  9. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  10. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames