SimpleNoSQL
SimpleNoSQL copied to clipboard
Crash somewhere on start
Any ideas how to prevent this from crashing? We have no control over this code from the app.
Fatal Exception: android.database.sqlite.SQLiteException: table simplenosql already exists (code 1)
#################################################################
Error Code : 1 (SQLITE_ERROR)
Caused By : SQL(query) error or missing database.
(table simplenosql already exists (code 1))
#################################################################
at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(SQLiteConnection.java)
at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:817)
at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1878)
at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1807)
at com.colintmiller.simplenosql.db.SimpleNoSQLDBHelper.onCreate(SimpleNoSQLDBHelper.java:54)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:251)
at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
at com.colintmiller.simplenosql.db.SimpleNoSQLDBHelper.getEntities(SimpleNoSQLDBHelper.java:116)
at com.colintmiller.simplenosql.db.SimpleNoSQLDBHelper.getEntities(SimpleNoSQLDBHelper.java:107)
at com.colintmiller.simplenosql.threading.DataDispatcher.retrieve(DataDispatcher.java:121)
at com.colintmiller.simplenosql.threading.DataDispatcher.run(DataDispatcher.java:83)