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

GitHub | di72nn | 2 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

    IllegalStateException : In Dynamic List by QueryBuilder

    Stack Overflow | 3 years ago | Blue Green
    java.lang.IllegalStateException: get field slot from row 0 col 0 failed
  2. 0

    IllegalStateException: Couldn't read row 0, col 0 from CursorWindow

    GitHub | 2 months ago | di72nn
    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

    Error when using StringCondition and CountQuery

    GitHub | 1 year ago | marck0z
    java.lang.IllegalStateException: Couldn't read row 0, col 0 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

    GitHub comment 343#265546059

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

    GitHub comment 343#265539487

    GitHub | 4 months ago | Strubbl
    java.lang.IllegalStateException: Couldn't read row 34, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
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 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

    at android.database.CursorWindow.nativeGetLong()
  2. Android Platform
    AbstractCursor.moveToNext
    1. android.database.CursorWindow.nativeGetLong(Native Method)
    2. android.database.CursorWindow.getLong(CursorWindow.java:507)
    3. android.database.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:75)
    4. android.database.AbstractCursor.moveToPosition(AbstractCursor.java:220)
    5. android.database.AbstractCursor.moveToNext(AbstractCursor.java:245)
    5 frames
  3. greenDAO
    QueryBuilder.list
    1. de.greenrobot.dao.AbstractDao.moveToNextUnlocked(AbstractDao.java:442)
    2. de.greenrobot.dao.AbstractDao.loadAllUnlockOnWindowBounds(AbstractDao.java:422)
    3. de.greenrobot.dao.AbstractDao.loadAllFromCursor(AbstractDao.java:401)
    4. de.greenrobot.dao.AbstractDao.loadAllAndCloseCursor(AbstractDao.java:191)
    5. de.greenrobot.dao.InternalQueryDaoAccess.loadAllAndCloseCursor(InternalQueryDaoAccess.java:21)
    6. de.greenrobot.dao.query.Query.list(Query.java:77)
    7. de.greenrobot.dao.query.QueryBuilder.list(QueryBuilder.java:388)
    7 frames
  4. fr.gaulupeau.apps
    ArticlesListFragment.onResume
    1. fr.gaulupeau.apps.Poche.ui.ArticlesListFragment.getArticles(ArticlesListFragment.java:202)
    2. fr.gaulupeau.apps.Poche.ui.ArticlesListFragment.updateList(ArticlesListFragment.java:169)
    3. fr.gaulupeau.apps.Poche.ui.ArticlesListFragment.onResume(ArticlesListFragment.java:117)
    3 frames
  5. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.app.Fragment.performResume(Fragment.java:2133)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1156)
    3. android.support.v4.app.FragmentManagerImpl.performPendingDeferredStart(FragmentManager.java:950)
    4. android.support.v4.app.FragmentManagerImpl.startPendingDeferredFragments(FragmentManager.java:1319)
    5. android.support.v4.app.FragmentManagerImpl.doPendingDeferredStart(FragmentManager.java:1705)
    6. android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1646)
    7. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:679)
    8. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
    9. android.support.v4.view.ViewPager.populate(ViewPager.java:1272)
    10. android.support.v4.view.ViewPager.populate(ViewPager.java:1120)
    11. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1646)
    11 frames
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16522)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    6. android.view.View.measure(View.java:16522)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    8 frames
  7. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:139)
    1 frame
  8. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:16522)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    2 frames
  9. Android v7
    ActionBarOverlayLayout.onMeasure
    1. android.support.v7.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:393)
    1 frame
  10. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16522)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    4. android.view.View.measure(View.java:16522)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    7. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    9. android.view.View.measure(View.java:16522)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    11. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    11 frames
  11. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2566)
    1 frame
  12. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:16522)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1912)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1109)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1291)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5600)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    9. android.view.Choreographer.doFrame(Choreographer.java:544)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
    11. android.os.Handler.handleCallback(Handler.java:733)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:136)
    14. android.app.ActivityThread.main(ActivityThread.java:5158)
    14 frames
  13. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  14. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
    2 frames
  15. XposedBridge
    XposedBridge.main
    1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    1 frame
  16. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame