java.lang.IllegalStateException: Couldn't read row 927, col 16 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by forouher

You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.

,
Expert tip

The cursor might not be initalized.

Solutions on the web

via GitHub by ukoehler
, 1 year ago
Couldn't read row 927, col 16 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by user1195883
, 1 year ago
Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Matt Smith
, 2 years ago
Couldn't read row 1, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by iforce2d
, 2 years ago
Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Darshan
, 8 months ago
Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by mehdok
, 2 years ago
Couldn't read row 9, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
java.lang.IllegalStateException: Couldn't read row 927, col 16 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
at android.database.CursorWindow.nativeGetString(Native Method)
at android.database.CursorWindow.getString(CursorWindow.java:438)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at com.fsck.k9.provider.EmailProvider$SpecialColumnsCursor.getString(EmailProvider.java:796)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at com.fsck.k9.fragment.MessageListFragment.getReferenceForPosition(MessageListFragment.java:3069)
at com.fsck.k9.fragment.MessageListFragment.isLast(MessageListFragment.java:3062)
at com.fsck.k9.activity.MessageList.configureMenu(MessageList.java:1002)
at com.fsck.k9.activity.MessageList.onPrepareOptionsMenu(MessageList.java:938)
at android.app.Activity.onPreparePanel(Activity.java:2851)
at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:577)
at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:921)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
at android.view.Choreographer.doCallbacks(Choreographer.java:580)
at android.view.Choreographer.doFrame(Choreographer.java:549)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)

Users with the same issue

36 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
68 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.