android.database.CursorIndexOutOfBoundsException: Index 3 requested, with a size of 3

Stack Overflow | Payal Garg | 2 months ago
  1. 0

    cursorboundexception whille displaying listview from content provider

    Stack Overflow | 2 months ago | Payal Garg
    android.database.CursorIndexOutOfBoundsException: Index 3 requested, with a size of 3
  2. 0

    I am trying to get call logs but i am unable to get it and getting and exception in android

    Stack Overflow | 1 month ago | mahnoor fatima
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.acer.fyp/com.example.acer.fyp.Get_Call_Log}: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 500
  3. 0

    Buchuaco Beach House - Google+

    google.com | 1 year ago
    android.database.CursorIndexOutOfBoundsException: Index 12 requested, with a size of 12
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Content Provider ListView wrong id on Update or Delete

    Stack Overflow | 2 years ago | paperflyy
    android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
  6. 0

    Android contacts database giving me an exception

    Stack Overflow | 5 years ago | Armand
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.informationkinetics.SMSS/com.informationkinetics.SMSS.Contact}: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1

  1. adawolfs 11 times, last 3 months ago
  2. spe 4 times, last 6 months ago
  3. ben.slama.jihed 8 times, last 6 months ago
  4. faisalmohd83 1 times, last 8 months ago
  5. Macapon 1 times, last 9 months ago
3 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. android.database.CursorIndexOutOfBoundsException

    Index 3 requested, with a size of 3

    at android.database.AbstractCursor.checkPosition()
  2. Android Platform
    CursorWrapper.getString
    1. android.database.AbstractCursor.checkPosition(AbstractCursor.java:426)
    2. android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:147)
    3. android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:61)
    4. android.database.CursorWrapper.getString(CursorWrapper.java:114)
    4 frames
  3. com.phase3.mascotnew
    SelectRecipeActivity$MyCursorAdapter.getView
    1. com.phase3.mascotnew.SelectRecipeActivity$MyCursorAdapter.getView(SelectRecipeActivity.java:145)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.widget.AbsListView.obtainView(AbsListView.java:2338)
    2. android.widget.ListView.makeAndAddView(ListView.java:1813)
    3. android.widget.ListView.fillDown(ListView.java:698)
    4. android.widget.ListView.fillFromTop(ListView.java:759)
    5. android.widget.ListView.layoutChildren(ListView.java:1646)
    6. android.widget.AbsListView.onLayout(AbsListView.java:2149)
    7. android.view.View.layout(View.java:15140)
    8. android.view.ViewGroup.layout(ViewGroup.java:4867)
    9. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1160)
    10. android.view.View.layout(View.java:15140)
    11. android.view.ViewGroup.layout(ViewGroup.java:4867)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:450)
    14. android.view.View.layout(View.java:15140)
    15. android.view.ViewGroup.layout(ViewGroup.java:4867)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
    19. android.view.View.layout(View.java:15140)
    20. android.view.ViewGroup.layout(ViewGroup.java:4867)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:450)
    23. android.view.View.layout(View.java:15140)
    24. android.view.ViewGroup.layout(ViewGroup.java:4867)
    25. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2474)
    26. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2180)
    27. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1246)
    28. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6412)
    29. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
    30. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    31. android.view.Choreographer.doFrame(Choreographer.java:560)
    32. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
    33. android.os.Handler.handleCallback(Handler.java:808)
    34. android.os.Handler.dispatchMessage(Handler.java:103)
    35. android.os.Looper.loop(Looper.java:193)
    36. android.app.ActivityThread.main(ActivityThread.java:5299)
    36 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame