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

GitHub | maxme | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Crash report 6.4: ISE in WordPressDB.getPostFromCursor

    GitHub | 4 months ago | maxme
    java.lang.IllegalStateException: Couldn't read row 22, col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  2. 0

    IllegalStateException in ReaderPostTable.getPostFromCursor()

    GitHub | 3 years ago | nbradbury
    java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  3. 0
    samebug tip
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    The cursor might not be initalized.
  6. 0

    RuntimeException in ReaderTable

    GitHub | 3 years ago | roundhill
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. jk 6 times, last 11 months 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 22, col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

    at android.database.CursorWindow.nativeGetLong()
  2. Android Platform
    AbstractWindowedCursor.getInt
    1. android.database.CursorWindow.nativeGetLong(CursorWindow.java)
    2. android.database.CursorWindow.getLong(CursorWindow.java:511)
    3. android.database.CursorWindow.getInt(CursorWindow.java:578)
    4. android.database.AbstractWindowedCursor.getInt(AbstractWindowedCursor.java:69)
    4 frames
  3. org.wordpress.android
    PostsListAdapter$LoadPostsTask.doInBackground
    1. org.wordpress.android.WordPressDB.getPostFromCursor(WordPressDB.java:1267)
    2. org.wordpress.android.WordPressDB.getPostsListPosts(WordPressDB.java:1238)
    3. org.wordpress.android.ui.posts.adapters.PostsListAdapter$LoadPostsTask.doInBackground(PostsListAdapter.java:654)
    4. org.wordpress.android.ui.posts.adapters.PostsListAdapter$LoadPostsTask.doInBackground(PostsListAdapter.java:636)
    4 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    4. java.lang.Thread.run(Thread.java:831)
    4 frames