net.sqlcipher.database.SQLiteException

file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master;

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • net.sqlcipher.database.SQLiteException: file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master; at net.sqlcipher.database.SQLiteCompiledSql.native_compile(SQLiteCompiledSql.java) at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91) at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64) at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83) at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49) at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42) at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1762) at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1727) at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2344) at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1091) at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1154) at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:162) at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:129) at com.xxx.xxx.database.DBOperation.getDatabase(DBOperation.java:37) at com.xxx.xxx.database.DBOperation.endTransaction(DBOperation.java:58)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

ivotje50ivotje50
Once,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,