Crash: IllegalStateException in SavedPagePersistenceHelper.fromCursor()
Closed, ResolvedPublic

Description

https://rink.hockeyapp.net/manage/apps/226650/app_versions/6/crash_reasons/71760923

java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
1 android.database.CursorWindow.nativeGetString Native Method
2 android.database.CursorWindow.getString CursorWindow.java, line 439
3 android.database.AbstractWindowedCursor.getString AbstractWindowedCursor.java, line 51
4 org.wikipedia.savedpages.SavedPagePersistenceHelper.fromCursor SavedPagePersistenceHelper.java, line 39
5 org.wikipedia.savedpages.SavedPagePersistenceHelper.convertAllTitlesToUnderscores SavedPagePersistenceHelper.java, line 99
6 org.wikipedia.data.PersistenceHelper.upgradeSchema PersistenceHelper.java, line 109
7 org.wikipedia.data.DBOpenHelper.onUpgrade DBOpenHelper.java, line 38
8 android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked SQLiteOpenHelper.java, line 257
9 android.database.sqlite.SQLiteOpenHelper.getReadableDatabase SQLiteOpenHelper.java, line 188
10 org.wikipedia.data.SQLiteContentProvider.query SQLiteContentProvider.java, line 43
11 android.content.ContentProvider.query ContentProvider.java, line 882
12 android.content.ContentProvider$Transport.query ContentProvider.java, line 200
13 android.content.ContentResolver.query ContentResolver.java, line 461
14 android.support.v4.content.ContentResolverCompatJellybean.query ContentResolverCompatJellybean.java, line 29
15 android.support.v4.content.ContentResolverCompat$ContentResolverCompatImplJB.query ContentResolverCompat.java, line 57
16 android.support.v4.content.ContentResolverCompat.query ContentResolverCompat.java, line 125
17 android.support.v4.content.CursorLoader.loadInBackground CursorLoader.java, line 59
18 android.support.v4.content.CursorLoader.loadInBackground CursorLoader.java, line 37
19 android.support.v4.content.AsyncTaskLoader.onLoadInBackground AsyncTaskLoader.java, line 296
20 android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground AsyncTaskLoader.java, line 54
21 android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground AsyncTaskLoader.java, line 42
22 android.support.v4.content.ModernAsyncTask$2.call ModernAsyncTask.java, line 128
23 java.util.concurrent.FutureTask.run

Dbrant created this task.Dec 7 2015, 4:00 PM
Dbrant moved this task to Next Sprint on the Wikipedia-Android-App-Backlog board.
Dbrant added a subscriber: Dbrant.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 7 2015, 4:00 PM
Niedzielski moved this task from To Do to Doing on the Mobile-App-Android-Sprint-72-Hafnium board.

Change 257399 had a related patch set uploaded (by Niedzielski):
Fix saved pages database crash

https://gerrit.wikimedia.org/r/257399

Change 257399 merged by jenkins-bot:
Fix saved pages database crash

https://gerrit.wikimedia.org/r/257399

Dbrant closed this task as "Resolved".Jan 4 2016, 5:44 PM