java.lang.IllegalStateException: Could not execute method for android:onClick

Stack Overflow | Ved Sarkar | 4 months ago
  1. 0

    Android: Make sure the Cursor is initialized correctly before accessing data from it

    Stack Overflow | 4 months ago | Ved Sarkar
    java.lang.IllegalStateException: Could not execute method for android:onClick
  2. 0

    SQLite keeps returning error from CursorWindow (failed to read row)

    Stack Overflow | 2 years ago
    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

    Android SQLite throws Failed to read row 0, column -1 from a CursorWindow

    Stack Overflow | 2 years ago | Marco Reisacher
    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

    Error: Unused Import Statement - import android.widget.AdapterView.OnItemClickListener; & import android.content.Context;

    Stack Overflow | 1 year ago | Arjun Bajpai
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.carsaleindiaofficial.csitestapp/com.carsaleindiaofficial.csitestapp.BookmarkPage}: 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

    java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow

    Stack Overflow | 1 year ago | Bedrock Dev
    java.lang.RuntimeException: Unable to start receiver com.bedrock.live.service.WiFiService: 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. bluebunnty 77 times, last 1 week ago
  2. ajinkya_w 3 times, last 2 months ago
  3. ajinkya_w 3 times, last 2 months ago
  4. harsha 1 times, last 4 months ago
  5. Ranjana Dangol 1 times, last 5 months ago
4 more registered users
36 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.nativeGetString()
  2. Android Platform
    AbstractWindowedCursor.getString
    1. android.database.CursorWindow.nativeGetString(Native Method)
    2. android.database.CursorWindow.getString(CursorWindow.java:438)
    3. android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
    3 frames
  3. listy.naive.com
    Dialog.Add_task
    1. listy.naive.com.listy.MainActivity.updateUI(MainActivity.java:102)
    2. listy.naive.com.listy.Dialog.Add_task(Dialog.java:58)
    2 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  5. Android v7
    AppCompatViewInflater$DeclaredOnClickListener.onClick
    1. android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:284)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5198)
    2. android.view.View$PerformClick.run(View.java:21147)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5417)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames