java.lang.IllegalStateException:
at rx.internal.schedulers.ScheduledAction.run (ScheduledAction.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at java.lang.Thread.run (Thread.java:764)
Caused by: rx.exceptions.OnErrorNotImplementedException:
at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call (InternalObservableUtils.java:386)
at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call (InternalObservableUtils.java:383)
at rx.internal.util.ActionSubscriber.onError (ActionSubscriber.java:44)
at rx.observers.SafeSubscriber._onError (SafeSubscriber.java:153)
at rx.observers.SafeSubscriber.onError (SafeSubscriber.java:115)
at rx.exceptions.Exceptions.throwOrReport (Exceptions.java:216)
at rx.observers.SafeSubscriber.onNext (SafeSubscriber.java:139)
at rx.internal.util.ScalarSynchronousObservable$ScalarAsyncProducer.call (ScalarSynchronousObservable.java:200)
at rx.internal.util.ScalarSynchronousObservable$2$1.call (ScalarSynchronousObservable.java:114)
at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call (CachedThreadScheduler.java:228)
at rx.internal.schedulers.ScheduledAction.run (ScheduledAction.java:55)
Caused by: io.requery.sql.StatementExecutionException:
at io.requery.sql.EntityUpdateOperation$1.evaluate (EntityUpdateOperation.java:59)
at io.requery.sql.EntityUpdateOperation$1.evaluate (EntityUpdateOperation.java:40)
at io.requery.query.BaseScalar.value (BaseScalar.java:48)
at io.requery.sql.EntityWriter.insert (EntityWriter.java:456)
at io.requery.sql.EntityWriter.upsert (EntityWriter.java:489)
at io.requery.sql.EntityDataStore.upsert (EntityDataStore.java:281)
at org.xdty.callerinfo.model.database.DatabaseImpl$10.call (DatabaseImpl.java:178)
at org.xdty.callerinfo.model.database.DatabaseImpl$10.call (DatabaseImpl.java:175)
at rx.internal.util.ActionSubscriber.onNext (ActionSubscriber.java:39)
at rx.observers.SafeSubscriber.onNext (SafeSubscriber.java:134)
Caused by: java.sql.SQLIntegrityConstraintViolationException:
at io.requery.android.sqlite.BaseConnection.throwSQLException (BaseConnection.java:69)
at io.requery.android.sqlite.SqlitePreparedStatement.executeUpdate (SqlitePreparedStatement.java:164)
at io.requery.sql.EntityUpdateOperation$1.evaluate (EntityUpdateOperation.java:54)
Caused by: android.database.sqlite.SQLiteConstraintException:
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId (Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId (SQLiteConnection.java:788)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId (SQLiteSession.java:788)
at android.database.sqlite.SQLiteStatement.executeInsert (SQLiteStatement.java:86)
at io.requery.android.sqlite.SqlitePreparedStatement.executeUpdate (SqlitePreparedStatement.java:160)
java.lang.IllegalStateException: at rx.internal.schedulers.ScheduledAction.run (ScheduledAction.java:57) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636) at java.lang.Thread.run (Thread.java:764) Caused by: rx.exceptions.OnErrorNotImplementedException: at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call (InternalObservableUtils.java:386) at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call (InternalObservableUtils.java:383) at rx.internal.util.ActionSubscriber.onError (ActionSubscriber.java:44) at rx.observers.SafeSubscriber._onError (SafeSubscriber.java:153) at rx.observers.SafeSubscriber.onError (SafeSubscriber.java:115) at rx.exceptions.Exceptions.throwOrReport (Exceptions.java:216) at rx.observers.SafeSubscriber.onNext (SafeSubscriber.java:139) at rx.internal.util.ScalarSynchronousObservable$ScalarAsyncProducer.call (ScalarSynchronousObservable.java:200) at rx.internal.util.ScalarSynchronousObservable$2$1.call (ScalarSynchronousObservable.java:114) at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call (CachedThreadScheduler.java:228) at rx.internal.schedulers.ScheduledAction.run (ScheduledAction.java:55) Caused by: io.requery.sql.StatementExecutionException: at io.requery.sql.EntityUpdateOperation$1.evaluate (EntityUpdateOperation.java:59) at io.requery.sql.EntityUpdateOperation$1.evaluate (EntityUpdateOperation.java:40) at io.requery.query.BaseScalar.value (BaseScalar.java:48) at io.requery.sql.EntityWriter.insert (EntityWriter.java:456) at io.requery.sql.EntityWriter.upsert (EntityWriter.java:489) at io.requery.sql.EntityDataStore.upsert (EntityDataStore.java:281) at org.xdty.callerinfo.model.database.DatabaseImpl$10.call (DatabaseImpl.java:178) at org.xdty.callerinfo.model.database.DatabaseImpl$10.call (DatabaseImpl.java:175) at rx.internal.util.ActionSubscriber.onNext (ActionSubscriber.java:39) at rx.observers.SafeSubscriber.onNext (SafeSubscriber.java:134) Caused by: java.sql.SQLIntegrityConstraintViolationException: at io.requery.android.sqlite.BaseConnection.throwSQLException (BaseConnection.java:69) at io.requery.android.sqlite.SqlitePreparedStatement.executeUpdate (SqlitePreparedStatement.java:164) at io.requery.sql.EntityUpdateOperation$1.evaluate (EntityUpdateOperation.java:54) Caused by: android.database.sqlite.SQLiteConstraintException: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId (Native Method) at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId (SQLiteConnection.java:788) at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId (SQLiteSession.java:788) at android.database.sqlite.SQLiteStatement.executeInsert (SQLiteStatement.java:86) at io.requery.android.sqlite.SqlitePreparedStatement.executeUpdate (SqlitePreparedStatement.java:160)