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

Stack Overflow | Angel Koh | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    com.android.mms crashes with ACTION_SEND_MULTIPLE action in intent

    Stack Overflow | 8 months ago | Angel Koh
    java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  2. 0
    samebug tip
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher
  3. 0
    samebug tip
    The cursor might not be initalized.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  6. 0

    View image intent results in HostPhotoViewIntentPhotoOneUpActivity crash

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

  1. rafael 1 times, last 2 months ago
  2. maxxi 1 times, last 4 months ago
  3. mukky 4 times, last 6 months ago
  4. zildjiandm 4 times, last 1 year ago
13 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Android Platform
    CursorWrapper.getString
    1. android.database.CursorWindow.nativeGetString(Native Method)
    2. android.database.CursorWindow.getString(CursorWindow.java:439)
    3. android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
    4. android.database.CursorWrapper.getString(CursorWrapper.java:114)
    4 frames
  3. com.android.mms
    HandleComposerAttachment$32.run
    1. com.android.mms.ui.MessageUtils.getMimeTypeFromUri(MessageUtils.java:6323)
    2. com.android.mms.util.HandleComposerAttachment$32.run(HandleComposerAttachment.java:2476)
    2 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:841)
    1 frame