Skip to content

(ReaderDatabase) RuntimeException: Unable to start activity ComponentInfo{org.wordpress.android/org.wordpress.android.ui.main.WPMain... #11845

@oguzkocer

Description

@oguzkocer

It looks like this might be related to #11590 authored by @khaykov.

Sentry Url: https://sentry.io/share/issue/236a9338065a437d8d0eebcebc7af66e/
User Count: 3
Count: 20
First Release: org.wordpress.android-14.7
First Seen: 2020-05-06T04:17:04Z
Last Seen: 2020-05-07T09:43:07Z
24 Hours: 14
30 Days: 20

RuntimeException: Unable to start activity ComponentInfo{org.wordpress.android/org.wordpress.android.ui.main.WPMainActivity}: android.database.sqlite.SQLiteException: duplicate column name: is_private_atomic (code 1 SQLITE_ERROR): , while compiling: ALTER TABLE tbl_posts ADD is_private_atomic BOOLEAN;
     at android.database.sqlite.SQLiteConnection.nativePrepareStatement(SQLiteConnection.java:null)
     at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:903)
     at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:514)
     at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
     at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
     at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
     at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1819)
     at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1747)
     at org.wordpress.android.datasets.ReaderDatabase.onUpgrade(ReaderDatabase.java:187)
     at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:398)
...
(28 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions