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

JIRA | Ashveen Iyer | 2 years 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

    Theme chooser crashes giving this error report : 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(Native Method) at android.database.CursorWindow.getLong(CursorWindow .java:511) at android.database.CursorWindow.getInt(CursorWindow. java:578) at android.database.AbstractWindowedCursor.getInt(Abs tractWindowedCursor.java:69) at android.database.CursorWrapper.getInt(CursorWrappe r.java:102) at com.cyngn.theme.chooser.ThemeFragment.loadStatusBa r(ThemeFragment.java:1591) at com.cyngn.theme.chooser.ThemeFragment.onLoadFinish ed(ThemeFragment.java:1342) at com.cyngn.theme.chooser.MyThemeFragment.onLoadFini shed(MyThemeFragment.java:368) at com.cyngn.theme.chooser.MyThemeFragment.onLoadFini shed(MyThemeFragment.java:54) at android.support.v4.app.LoaderManagerImpl$LoaderInf o.callOnLoadFinished(LoaderManager.java:427) at android.support.v4.app.LoaderManagerImpl$LoaderInf o.onLoadComplete(LoaderManager.java:395) at android.support.v4.content.Loader.deliverResult(Lo ader.java:104) at android.support.v4.content.CursorLoader.deliverRes ult(CursorLoader.java:73) at android.support.v4.content.CursorLoader.deliverRes ult(CursorLoader.java:35) at android.support.v4.content.AsyncTaskLoader.dispatc hOnLoadComplete(AsyncTaskLoader.java:223) at android.support.v4.content.AsyncTaskLoader$LoadTas k.onPostExecute(AsyncTaskLoader.java:61) at android.support.v4.content.ModernAsyncTask.finish( ModernAsyncTask.java:461) at android.support.v4.content.ModernAsyncTask.access$ 500(ModernAsyncTask.java:47) at android.support.v4.content.ModernAsyncTask$Interna lHandler.handleMessage(ModernAsyncTask.java:474) at android.os.Handler.dispatchMessage(Handler.java:10 2) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.jav a:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:898) at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:693)

    JIRA | 2 years ago | Ashveen Iyer
    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

    Theme chooser crashes giving this error report : 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(Native Method) at android.database.CursorWindow.getLong(CursorWindow .java:511) at android.database.CursorWindow.getInt(CursorWindow. java:578) at android.database.AbstractWindowedCursor.getInt(Abs tractWindowedCursor.java:69) at android.database.CursorWrapper.getInt(CursorWrappe r.java:102) at com.cyngn.theme.chooser.ThemeFragment.loadStatusBa r(ThemeFragment.java:1591) at com.cyngn.theme.chooser.ThemeFragment.onLoadFinish ed(ThemeFragment.java:1342) at com.cyngn.theme.chooser.MyThemeFragment.onLoadFini shed(MyThemeFragment.java:368) at com.cyngn.theme.chooser.MyThemeFragment.onLoadFini shed(MyThemeFragment.java:54) at android.support.v4.app.LoaderManagerImpl$LoaderInf o.callOnLoadFinished(LoaderManager.java:427) at android.support.v4.app.LoaderManagerImpl$LoaderInf o.onLoadComplete(LoaderManager.java:395) at android.support.v4.content.Loader.deliverResult(Lo ader.java:104) at android.support.v4.content.CursorLoader.deliverRes ult(CursorLoader.java:73) at android.support.v4.content.CursorLoader.deliverRes ult(CursorLoader.java:35) at android.support.v4.content.AsyncTaskLoader.dispatc hOnLoadComplete(AsyncTaskLoader.java:223) at android.support.v4.content.AsyncTaskLoader$LoadTas k.onPostExecute(AsyncTaskLoader.java:61) at android.support.v4.content.ModernAsyncTask.finish( ModernAsyncTask.java:461) at android.support.v4.content.ModernAsyncTask.access$ 500(ModernAsyncTask.java:47) at android.support.v4.content.ModernAsyncTask$Interna lHandler.handleMessage(ModernAsyncTask.java:474) at android.os.Handler.dispatchMessage(Handler.java:10 2) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.jav a:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:898) at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:693)

    JIRA | 2 years ago | Ashveen Iyer
    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

    [TROUBLESHOOTING] Problems Faced After CM12 … - Pg. 4 | YU Yureka | XDA Forums

    xda-developers.com | 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [SHARE] COS 12 App Themer for All CM 12.x RO… - Pg. 14 | OnePlus One | XDA Forums

    xda-developers.com | 1 year 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.
  6. 0

    2015-07-28 FennecAndroid Release 39 Startup Crash Report

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

  1. ajinkya_w 37 times, last 7 months ago
  2. Ranjana Dangol 1 times, last 10 months ago
  3. jk 1 times, last 10 months ago
  4. Stefan Braune 7 times, last 10 months ago
  5. joni1408 20 times, last 11 months ago
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
    CursorWindow.nativeGetLong
    1. android.database.CursorWindow.nativeGetLong(Native Method)
    1 frame