App crashes while upgrading the app version along with SQLCipher version 1.x to 3.x


#1

Crashlytics - plaintext stacktrace downloaded by homePad iOS Dev Team at Wed, 05 Jul 2017 13:05:03 GMT

URL: https://fabric.io/homepad/android/apps/com.app.android.homepad.pro/issues/595b1d22be077a4dcc018b84?time=last-thirty-days/sessions/595B9E9F02190001265B8D71C4472FAA_f658b5ce60c211e7957556847afe9799_0_v2

Organization: homePad

Platform: android

Application: homePad pro 1.0

Version: N/A

Bundle Identifier: com.app.android.homepad.pro

Issue #: 351

Issue ID: 595b1d22be077a4dcc018b84

Session ID: 595B9E9F02190001265B8D71C4472FAA_f658b5ce60c211e7957556847afe9799_0_v2

Date: 2017-07-04T13:56:00Z

OS Version: 5.1

Device: Google Nexus 7 2013 - 5.1.0 - API 22 - 1200x1920

RAM Free: 87%

Disk Free: 91.4%

Fatal Exception: 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.(SQLiteCompiledSql.java:64)
at net.sqlcipher.database.SQLiteProgram.(SQLiteProgram.java:89)
at net.sqlcipher.database.SQLiteQuery.(SQLiteQuery.java:48)
at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:60)
at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1867)
at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1785)
at net.sqlcipher.database.SQLiteDatabase.keyDatabase(SQLiteDatabase.java:2486)
at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2415)
at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1149)
at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1212)
at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:162)
at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:129)
at com.app.android.homepad.pro.model.CreditManagmentModel.getCreditList(CreditManagmentModel.java:579)
at com.app.android.homepad.pro.fragments.InspectionFragment.onActivityCreated(InspectionFragment.java:810)
at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:2201)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1326)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149)