java.util.concurrent.ExecutionException: com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseLockedException: database is locked (code 5)

GitHub | npomfret | 5 months ago
  1. 0

    SQLiteDatabaseLockedException in 1.3.0-8

    GitHub | 5 months ago | npomfret
    java.util.concurrent.ExecutionException: com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseLockedException: database is locked (code 5)

    Root Cause Analysis

    1. com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseLockedException

      database is locked (code 5)

      at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.nativeExecute()
    2. com.couchbase.lite
      Batcher$2.run
      1. com.couchbase.lite.internal.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
      2. com.couchbase.lite.internal.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:486)
      3. com.couchbase.lite.internal.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:330)
      4. com.couchbase.lite.internal.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:305)
      5. com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:498)
      6. com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:409)
      7. com.couchbase.lite.storage.SQLiteStorageEngineBase.beginTransaction(SQLiteStorageEngineBase.java:141)
      8. com.couchbase.lite.store.SQLiteStore.beginTransaction(SQLiteStore.java:2296)
      9. com.couchbase.lite.store.SQLiteStore.runInTransaction(SQLiteStore.java:711)
      10. com.couchbase.lite.replicator.PullerInternal.insertDownloads(PullerInternal.java:562)
      11. com.couchbase.lite.replicator.PullerInternal$2.process(PullerInternal.java:127)
      12. com.couchbase.lite.support.Batcher.processNow(Batcher.java:396)
      13. com.couchbase.lite.support.Batcher.access$300(Batcher.java:29)
      14. com.couchbase.lite.support.Batcher$2.run(Batcher.java:330)
      14 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      6 frames