java.lang.IllegalStateException

Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

Samebug tips4

The cursor might not be initalized.

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web18206

  • via GitHub by nAkhmedov
    , 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 GitHub by roundhill
    , 8 months ago
    Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  • via GitHub by lxalln
    , 1 year ago
    Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  • Stack trace

    • java.lang.IllegalStateException: Couldn't read row 0, col 0 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:439) at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51) at android.database.CursorWrapper.getString(CursorWrapper.java:114) at com.android.mms.ui.MessageUtils.getMimeTypeFromUri(MessageUtils.java:6323) at com.android.mms.util.HandleComposerAttachment$32.run(HandleComposerAttachment.java:2476) at java.lang.Thread.run(Thread.java:841)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    36 times, 7 months ago
    Once, 6 months ago
    4 times, 9 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    65 more bugmates