java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

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

    Automated exception search integrated into your IDE

  2. 0

    High: Stickerbook crash

    GitHub | 2 years ago | itscam
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  3. 0

    [Crash Log] Sat, 01 Nov 2014 14:55:53 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
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.IndexOutOfBoundsException

    Invalid index 0, size is 0

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.get(ArrayList.java:308)
    2 frames
  3. com.example.sillimaninquirer
    Adapter.getView
    1. com.example.sillimaninquirer.Adapter.getView(NewsFeed.java:402)
    1 frame
  4. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.widget.AbsListView.obtainView(AbsListView.java:2467)
    2. android.widget.ListView.measureHeightOfChildren(ListView.java:1286)
    3. android.widget.ListView.onMeasure(ListView.java:1194)
    4. android.view.View.measure(View.java:17915)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5698)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1692)
    7. android.widget.LinearLayout.measureVertical(LinearLayout.java:760)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
    9. android.view.View.measure(View.java:17915)
    10. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:846)
    11. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:512)
    12. android.view.View.measure(View.java:17915)
    13. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5698)
    14. android.widget.FrameLayout.onMeasure(FrameLayout.java:465)
    15. android.view.View.measure(View.java:17915)
    16. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5698)
    16 frames
  5. Android
    ActionBarOverlayLayout.onMeasure
    1. com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:447)
    1 frame
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:17915)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5698)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:465)
    3 frames
  7. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2728)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:17915)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2412)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1414)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1638)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1292)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6598)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:800)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:603)
    9. android.view.Choreographer.doFrame(Choreographer.java:572)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:786)
    11. android.os.Handler.handleCallback(Handler.java:815)
    12. android.os.Handler.dispatchMessage(Handler.java:104)
    13. android.os.Looper.loop(Looper.java:194)
    14. android.app.ActivityThread.main(ActivityThread.java:5631)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
    2 frames