io.requery.PersistenceException

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.

  • GitHub comment 247#240675373
    via GitHub by aegis123
    ,
    • io.requery.PersistenceException: java.sql.SQLIntegrityConstraintViolationException: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: ThreadEntity.id (code 1555) at io.requery.sql.BatchUpdateOperation.evaluate(BatchUpdateOperation.java:90) at io.requery.sql.BatchUpdateOperation.evaluate(BatchUpdateOperation.java:35) at io.requery.query.element.QueryElement.get(QueryElement.java:317) at io.requery.sql.EntityWriter.batchInsert(EntityWriter.java:277) at io.requery.sql.EntityDataStore.insert(EntityDataStore.java:223) at io.requery.sql.EntityDataStore.insert(EntityDataStore.java:211) at io.requery.rx.SingleEntityStoreFromBlocking$2.get(SingleEntityStoreFromBlocking.java:93) at io.requery.rx.SingleEntityStoreFromBlocking$2.get(SingleEntityStoreFromBlocking.java:90) at io.requery.rx.SingleOnSubscribeFromSupplier.call(SingleOnSubscribeFromSupplier.java:34) at io.requery.rx.SingleOnSubscribeFromSupplier.call(SingleOnSubscribeFromSupplier.java:23) at rx.Single$1.call(Single.java:90) at rx.Single$1.call(Single.java:70) at rx.Single.subscribe(Single.java:1839) at rx.Single.subscribe(Single.java:1916) at rx.Single$19$1.call(Single.java:1971) at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) at rx.internal.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:107) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: java.sql.SQLIntegrityConstraintViolationException: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: ThreadEntity.id (code 1555) at io.requery.android.sqlite.BaseConnection.throwSQLException(BaseConnection.java:69) at io.requery.android.sqlitex.SqlitexPreparedStatement.executeUpdate(SqlitexPreparedStatement.java:158) at io.requery.sql.BatchUpdateOperation.evaluate(BatchUpdateOperation.java:72) ... 19 more Caused by: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: ThreadEntity.id (code 1555) at io.requery.android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at io.requery.android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:762) at io.requery.android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:764) at io.requery.android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:68) at io.requery.android.sqlitex.SqlitexPreparedStatement.executeUpdate(SqlitexPreparedStatement.java:156) ... 20 more
    No Bugmate found.