java.lang.IllegalStateException: Couldn't read row 0, col -1 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

,
Expert tip

The cursor might not be initalized.

,
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.

Solutions on the web

via Stack Overflow by Jacob Boyd
, 1 year 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 Contextioner
, 8 months ago
Couldn't read row 0, col 5 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 -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via androidside.com by Unknown author, 1 year ago
Couldn't read row 0, col -1 from CursorWindowMake sure the Cursor is initialized correctly before accessing data from it.
via androidside.com by Unknown author, 1 year ago
Couldn't read row 0, col -1 from CursorWindowMake sure the Cursor is initialized correctly before accessing data from it.
java.lang.IllegalStateException: Couldn't read row 0, col -1 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:451)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
at android.database.CursorWrapper.getString(CursorWrapper.java:137)
at com.android.mms.util.bz.b(FileInfoUtils.java:275)
at com.android.mms.ui.to.a(MessageUtils.java:15213)
at com.android.mms.composer.mt.a(ComposerAttachController.java:128)
at com.android.mms.composer.SimpleEditorBottomPanel.a(SimpleEditorBottomPanel.java:76)
at com.android.mms.composer.dk.a(BottomPanel.java:307)
at com.android.mms.composer.dk.a(BottomPanel.java:296)
at com.android.mms.util.da.run(HandleComposerAttachment.java:3316)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Once, 10 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 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.