-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Crash report 4.1 - IllegalStateException accessing comment Cursor #2855
Copy link
Copy link
Closed
Labels
Description
Accessing an OOB row? Weird because moveToNext just returned true.
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:838)
Caused by: java.lang.IllegalStateException: Couldn't read row 3, col 6 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
at android.database.CursorWindow.nativeGetString(CursorWindow.java)
at android.database.CursorWindow.getString(CursorWindow.java:518)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:62)
at org.wordpress.android.datasets.CommentTable.getCommentFromCursor(CommentTable.java:321)
at org.wordpress.android.datasets.CommentTable.getCommentsForBlog(CommentTable.java:140)
at org.wordpress.android.ui.comments.CommentAdapter$LoadCommentsTask.doInBackground(CommentAdapter.java:340)
at org.wordpress.android.ui.comments.CommentAdapter$LoadCommentsTask.doInBackground(CommentAdapter.java:327)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:838)
Reactions are currently unavailable