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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pepe-pa
, 1 year ago
no such table: OperationHistory(Sqlite code 1),(OS error - 2:No such file or directory)
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(SQLiteConnection.java)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
at com.raizlabs.android.dbflow.sql.SqlUtils.insert(SqlUtils.java:314)
at com.raizlabs.android.dbflow.sql.SqlUtils.save(SqlUtils.java:268)
at com.raizlabs.android.dbflow.structure.ModelAdapter.save(ModelAdapter.java:54)
at com.raizlabs.android.dbflow.structure.BaseModel.save(BaseModel.java:50)
at com.raizlabs.android.dbflow.runtime.transaction.process.SaveModelTransaction.processModel(SaveModelTransaction.java:33)
at com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelTransaction$1.processModel(ProcessModelTransaction.java:76)
at com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelHelper$1.run(ProcessModelHelper.java:33)
at com.raizlabs.android.dbflow.runtime.TransactionManager.transact(TransactionManager.java:108)
at com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelHelper.process(ProcessModelHelper.java:28)
at com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelInfo.processModels(ProcessModelInfo.java:159)
at com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelTransaction.onExecute(ProcessModelTransaction.java:73)
at com.raizlabs.android.dbflow.runtime.transaction.process.ProcessModelTransaction.onExecute(ProcessModelTransaction.java:13)
at com.raizlabs.android.dbflow.runtime.DBTransactionQueue.run(DBTransactionQueue.java:61)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.