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.


In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID


Check if there's no missing comma or semicolon in your sql declarations.

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

  • java.lang.IllegalStateException CURSOR
    via Stack Overflow by Abbes CHOUKCHOU
  • Simple Query returns error
    via by Unknown author,
  • Simple Query returns error
    via Stack Overflow by Skynet
  • Cursors, SQLite, and queries
    via Stack Overflow by atamakosi
    • java.lang.IllegalStateException: Couldn''t read row 122, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method)

    Users with the same issue

    Unknown UserUnknown User
    34 times, last one,
    Indri YunitaIndri Yunita
    6 times, last one,
    26 times, last one,
    11 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    65 more bugmates