Skip to content

no such table: room_table_modification_log #73

@mandrachek

Description

@mandrachek

I am experiencing #7 - #7
This is with SQLCipher 4.11.0 and Room 2.8.2

The full stack trace is:
Fatal Exception: android.database.sqlite.SQLiteException: no such table: room_table_modification_log (code 1): , while compiling: INSERT OR IGNORE INTO room_table_modification_log VALUES(2, 0)
at net.zetetic.database.sqlcipher.SQLiteConnection.nativePrepareStatement(SQLiteConnection.java)
at net.zetetic.database.sqlcipher.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:973)
at net.zetetic.database.sqlcipher.SQLiteConnection.prepare(SQLiteConnection.java:537)
at net.zetetic.database.sqlcipher.SQLiteSession.prepare(SQLiteSession.java:593)
at net.zetetic.database.sqlcipher.SQLiteProgram.(SQLiteProgram.java:65)
at net.zetetic.database.sqlcipher.SQLiteStatement.(SQLiteStatement.java:38)
at net.zetetic.database.sqlcipher.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1270)
at net.zetetic.database.sqlcipher.SQLiteDatabase.compileStatement(SQLiteDatabase.java:76)
at androidx.sqlite.driver.SupportSQLiteStatement$OtherSQLiteStatement.(SupportSQLiteStatement.java:519)
at androidx.sqlite.driver.SupportSQLiteStatement$Companion.create(SupportSQLiteStatement.java:74)
at androidx.sqlite.driver.SupportSQLiteConnection.prepare(SupportSQLiteConnection.android.kt:35)
at androidx.room.coroutines.PassthroughConnection$usePrepared$2.invokeSuspend(PassthroughConnectionPool.kt:91)
at androidx.room.coroutines.PassthroughConnection$usePrepared$2.invoke(PassthroughConnectionPool.kt:11)
at androidx.room.coroutines.PassthroughConnection$usePrepared$2.invoke(PassthroughConnectionPool.kt:11)
at androidx.room.RoomDatabaseKt__RoomDatabase_androidKt.compatTransactionCoroutineExecute(RoomDatabaseKt__RoomDatabase_android.kt:2184)
at androidx.room.RoomDatabaseKt.compatTransactionCoroutineExecute(RoomDatabase.kt:1)
at androidx.room.RoomDatabase$createConnectionManager$3.invoke(RoomDatabase.kt:338)
at androidx.room.RoomDatabase$createConnectionManager$3.invoke(RoomDatabase.java:338)
at androidx.room.coroutines.PassthroughConnection.usePrepared(PassthroughConnectionPool.kt:91)
at androidx.room.TransactorKt.execSQL(Transactor.kt:46)
at androidx.room.TriggerBasedInvalidationTracker.startTrackingTable(InvalidationTracker.kt:328)
at androidx.room.TriggerBasedInvalidationTracker.access$startTrackingTable(InvalidationTracker.kt:147)
at androidx.room.TriggerBasedInvalidationTracker$syncTriggers$2$1$1$1.invokeSuspend(InvalidationTracker.kt:318)
at androidx.room.TriggerBasedInvalidationTracker$syncTriggers$2$1$1$1.invoke(InvalidationTracker.kt:13)
at androidx.room.TriggerBasedInvalidationTracker$syncTriggers$2$1$1$1.invoke(InvalidationTracker.kt:13)
at androidx.room.coroutines.PassthroughConnection.transaction(PassthroughConnectionPool.kt:127)
at androidx.room.coroutines.PassthroughConnection.access$transaction(PassthroughConnection.java:77)
at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invokeSuspend(PassthroughConnectionPool.kt:103)
at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invoke(PassthroughConnectionPool.kt:55)
at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invoke(PassthroughConnectionPool.kt:55)
at androidx.room.RoomDatabaseKt__RoomDatabase_androidKt.compatTransactionCoroutineExecute(RoomDatabaseKt__RoomDatabase_android.kt:2187)
at androidx.room.RoomDatabaseKt.compatTransactionCoroutineExecute(RoomDatabase.kt:1)
at androidx.room.RoomDatabase$createConnectionManager$3.invoke(RoomDatabase.kt:338)
at androidx.room.RoomDatabase$createConnectionManager$3.invoke(RoomDatabase.java:338)
at androidx.room.coroutines.PassthroughConnection.withTransaction(PassthroughConnectionPool.kt:103)
at androidx.room.TriggerBasedInvalidationTracker$syncTriggers$2$1.invokeSuspend(TriggerBasedInvalidationTracker.java:314)
at androidx.room.TriggerBasedInvalidationTracker$syncTriggers$2$1.invoke(TriggerBasedInvalidationTracker.java:460)
at androidx.room.TriggerBasedInvalidationTracker$syncTriggers$2$1.invoke(TriggerBasedInvalidationTracker.java:460)
at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invokeSuspend(PassthroughConnectionPool.java:59)
at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke(PassthroughConnectionPool.java:325)
at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke(PassthroughConnectionPool.java:325)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(BuildersKt__Builders_common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Builders.kt:1)
at androidx.room.coroutines.PassthroughConnectionPool.useConnection(PassthroughConnectionPool.kt:59)
at androidx.room.RoomDatabase.getOpenHelper(RoomDatabase.android.kt:136)
at androidx.room.RoomConnectionManager.useConnection(RoomConnectionManager.java:136)
at androidx.room.RoomDatabase.useConnection(RoomDatabase.android.kt:619)
at androidx.room.TriggerBasedInvalidationTracker.syncTriggers$room_runtime(InvalidationTracker.kt:306)
at androidx.room.TriggerBasedInvalidationTracker$createFlow$1$1.invokeSuspend(TriggerBasedInvalidationTracker.java:239)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.java:124)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions