java.lang.RuntimeException: Unable to start activity ComponentInfo{com.utagoe.momentdiary/com.utagoe.momentdiary.MomentDiaryVanilla}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

Stack Overflow | figfofu | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 3302#152370666

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

    Why did I get the error "Couldn't read row 0, col -1 from CursorWindow. " after upgrading sqlite database

    Stack Overflow | 5 months ago | figfofu
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.utagoe.momentdiary/com.utagoe.momentdiary.MomentDiaryVanilla}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  3. 0

    when select cursor sql get force close

    Stack Overflow | 4 years ago | user2375628
    java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't query Android SQLite database

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

    Android App Crashing when trying to add data in database from EditText

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

  1. jk 6 times, last 8 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 0, 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(Native Method)
    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