com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: no such table: docs (code 1): , while compiling: SELECT doc_id, docid FROM docs

GitHub | AnthonyTTaylor | 2 months ago
  1. 0

    SQLiteException: no such table: docs (code 1): on Android Nougat

    GitHub | 2 months ago | AnthonyTTaylor
    com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: no such table: docs (code 1): , while compiling: SELECT doc_id, docid FROM docs
  2. 0

    SQLiteException: no such table: maps_١ (code 1)

    GitHub | 6 months ago | mtrakal
    com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: no such table: maps_١ (code 1): , while compiling: SELECT key, value, docid, revs.sequence FROM 'maps_١', revs, docs WHERE 1 AND revs.sequence = 'maps_١'.sequence AND docs.doc_id = revs.doc_id ORDER BY key, docid LIMIT ? OFFSET ?
  3. 0

    GitHub comment 1381#264410486

    GitHub | 16 hours ago | bpolanec
    com.couchbase.lite.storage.SQLException: com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: no such savepoint: cbl_1 (code 1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Compaction not working

    GitHub | 4 months ago | mikef-dk
    com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: cannot rollback - no transaction is active (code 1)
  6. 0

    GitHub comment 1381#264410486

    GitHub | 16 hours ago | bpolanec
    com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: cannot rollback - no transaction is active (code 1)

    Root Cause Analysis

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

      no such table: docs (code 1): , while compiling: SELECT doc_id, docid FROM docs

      at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.nativePrepareStatement()
    2. com.couchbase.lite
      Manager.<init>
      1. com.couchbase.lite.internal.database.sqlite.SQLiteConnection.nativePrepareStatement(SQLiteConnection.java)
      2. com.couchbase.lite.internal.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:718)
      3. com.couchbase.lite.internal.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:431)
      4. com.couchbase.lite.internal.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:595)
      5. com.couchbase.lite.internal.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:64)
      6. com.couchbase.lite.internal.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
      7. com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:48)
      8. com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1300)
      9. com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1239)
      10. com.couchbase.lite.storage.SQLiteStorageEngineBase.rawQuery(SQLiteStorageEngineBase.java:183)
      11. com.couchbase.lite.DatabaseUpgrade.importData(DatabaseUpgrade.java:109)
      12. com.couchbase.lite.Manager.upgradeDatabase(Manager.java:857)
      13. com.couchbase.lite.Manager.upgradeOldDatabaseFiles(Manager.java:798)
      14. com.couchbase.lite.Manager.<init>(Manager.java:130)
      14 frames
    3. com.ontimeapp.ontime
      MainMenuFragment.onStart
      1. com.ontimeapp.ontime.services.imp.CouchDbCacheKt.makeOrBuild(CouchDbCache.kt:59)
      2. com.ontimeapp.ontime.services.imp.CouchDbCache.<init>(CouchDbCache.kt:74)
      3. com.ontimeapp.ontime.services.CityCache.<init>(CityCache.kt:22)
      4. com.ontimeapp.ontime.services.CityCache$Companion.getInstance(CityCache.kt:48)
      5. com.ontimeapp.ontime.MainMenuFragment.onStart(MainMenuFragment.kt:70)
      5 frames
    4. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.performStart(Fragment.java:2106)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1146)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)
      4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1272)
      5. android.support.v4.app.FragmentManagerImpl.dispatchStart(FragmentManager.java:2154)
      6. android.support.v4.app.FragmentController.dispatchStart(FragmentController.java:212)
      7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:610)
      7 frames
    5. Android v7
      AppCompatActivity.onStart
      1. android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
      1 frame
    6. com.ontimeapp.ontime
      MainActivity.onStart
      1. com.ontimeapp.ontime.MainActivity.onStart(MainActivity.kt:116)
      1 frame
    7. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1248)
      2. android.app.Activity.performStart(Activity.java:6681)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2609)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
      4 frames