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
  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 | 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.
  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

    Video capturing crash on Samsung android 5 with FileProvider

    Stack Overflow | 1 month ago | Alex Klimashevsky
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2002, result=-1, data=Intent { act=inline-data dat=content://example.com.myapplication.fileprovider/external/Android/data/example.com.myapplication/files/video.mp4 (has extras) }} to activity {com.sec.android.app.camera/com.sec.android.app.camera.Camcorder}: 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. ajinkya_w 37 times, last 2 months ago
  2. ajinkya_w 24 times, last 2 months ago
  3. Ranjana Dangol 1 times, last 5 months ago
  4. jk 1 times, last 5 months ago
  5. Stefan Braune 7 times, last 5 months ago
1 more registered users
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