io.requery.sql.StatementExecutionException: Exception executing statement: insert into Event (code, colour, dayName, endTime, name, roomCode, roomDescription, staff, startTime, studentOwner, type, weeks) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

GitHub | dabx | 5 months ago
  1. 0

    GitHub comment 209#229767013

    GitHub | 5 months ago | dabx
    io.requery.sql.StatementExecutionException: Exception executing statement: insert into Event (code, colour, dayName, endTime, name, roomCode, roomDescription, staff, startTime, studentOwner, type, weeks) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
  2. 0

    GitHub comment 199#227340450

    GitHub | 6 months ago | danysz
    io.requery.sql.StatementExecutionException: Exception executing statement: insert into Connection (SSID, iPAddressLocal, iPAddressRemote, name, password, portLocal, portRemote, userName, vBoxLastUpdate) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
  3. 0

    Crash caused by failing foreign constraint.

    GitHub | 9 months ago | vIiRuS
    android.database.sqlite.SQLiteConstraintException: FOREIGN KEY constraint failed (code 787)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Column xxxx is not unique.

    GitHub | 2 years ago | Moussawi7
    android.database.sqlite.SQLiteConstraintException: column user_id is not unique (code 19)
  6. 0

    Android sqlite ID not generated

    Stack Overflow | 1 year ago | Sadragos
    android.database.sqlite.SQLiteConstraintException: CLIENT.CLIENT_ID may not be NULL (code 19)
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

    FOREIGN KEY constraint failed (code 787)

    at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId()
  2. Android Platform
    SQLiteStatement.executeInsert
    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)
    4 frames
  3. io.requery.android
    SqlitePreparedStatement.executeUpdate
    1. io.requery.android.sqlite.SqlitePreparedStatement.executeUpdate(SqlitePreparedStatement.java:160)
    1 frame
  4. io.requery.sql
    EntityUpdateOperation$1.evaluate
    1. io.requery.sql.EntityUpdateOperation$1.evaluate(EntityUpdateOperation.java:69)
    2. io.requery.sql.EntityUpdateOperation$1.evaluate(EntityUpdateOperation.java:55)
    2 frames
  5. io.requery.query
    BaseScalar.value
    1. io.requery.query.BaseScalar.value(BaseScalar.java:49)
    1 frame
  6. io.requery.sql
    EntityDataStore.insert
    1. io.requery.sql.EntityWriter.insert(EntityWriter.java:452)
    2. io.requery.sql.EntityWriter.cascadeWrite(EntityWriter.java:926)
    3. io.requery.sql.EntityWriter.updateInverseAssociation(EntityWriter.java:782)
    4. io.requery.sql.EntityWriter.updateAssociations(EntityWriter.java:665)
    5. io.requery.sql.EntityWriter.insert(EntityWriter.java:454)
    6. io.requery.sql.EntityWriter.insert(EntityWriter.java:410)
    7. io.requery.sql.EntityDataStore.insert(EntityDataStore.java:209)
    8. io.requery.sql.EntityDataStore.insert(EntityDataStore.java:199)
    8 frames
  7. io.requery.rx
    SingleOnSubscribeFromSupplier.call
    1. io.requery.rx.SingleEntityStoreFromBlocking$1.get(SingleEntityStoreFromBlocking.java:87)
    2. io.requery.rx.SingleOnSubscribeFromSupplier.call(SingleOnSubscribeFromSupplier.java:34)
    3. io.requery.rx.SingleOnSubscribeFromSupplier.call(SingleOnSubscribeFromSupplier.java:23)
    3 frames
  8. rxjava
    ExecutorScheduler$ExecutorSchedulerWorker.run
    1. rx.Single$1.call(Single.java:94)
    2. rx.Single$1.call(Single.java:74)
    3. rx.Single.subscribe(Single.java:1822)
    4. rx.Single.subscribe(Single.java:1899)
    5. rx.Single$19$1.call(Single.java:1954)
    6. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
    7. rx.internal.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:104)
    7 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames