If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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

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 218, 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 User
    34 times, last one,
    Indri Yunita
    6 times, last one,
    26 times, last one,
    11 times, last one,
    Unknown visitor1 times, last one,
    65 more bugmates