android.database.sqlite.SQLiteException: no such table: OperationHistory(Sqlite code 1),(OS error - 2:No such file or directory)

GitHub | pepe-pa | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    android.database.sqlite.SQLiteException: no such table:

    GitHub | 7 months ago | pepe-pa
    android.database.sqlite.SQLiteException: no such table: OperationHistory(Sqlite code 1),(OS error - 2:No such file or directory)

    Root Cause Analysis

    1. android.database.sqlite.SQLiteException

      no such table: OperationHistory(Sqlite code 1),(OS error - 2:No such file or directory)

      at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId()
    2. Android Platform
      SQLiteStatement.executeInsert
      1. android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(SQLiteConnection.java)
      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. com.raizlabs.android
      DBTransactionQueue.run
      1. com.raizlabs.android.dbflow.sql.SqlUtils.insert(SqlUtils.java:314)
      2. com.raizlabs.android.dbflow.sql.SqlUtils.save(SqlUtils.java:268)
      3. com.raizlabs.android.dbflow.structure.ModelAdapter.save(ModelAdapter.java:54)
      4. com.raizlabs.android.dbflow.structure.BaseModel.save(BaseModel.java:50)
      5. com.raizlabs.android.dbflow.runtime.transaction.process.SaveModelTransaction.processModel(SaveModelTransaction.java:33)
      6. com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelTransaction$1.processModel(ProcessModelTransaction.java:76)
      7. com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelHelper$1.run(ProcessModelHelper.java:33)
      8. com.raizlabs.android.dbflow.runtime.TransactionManager.transact(TransactionManager.java:108)
      9. com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelHelper.process(ProcessModelHelper.java:28)
      10. com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelInfo.processModels(ProcessModelInfo.java:159)
      11. com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelTransaction.onExecute(ProcessModelTransaction.java:73)
      12. com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelTransaction.onExecute(ProcessModelTransaction.java:13)
      13. com.raizlabs.android.dbflow.runtime.DBTransactionQueue.run(DBTransactionQueue.java:61)
      13 frames