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

GitHub | mpkr | 3 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

    High: Stickerbook crash

    GitHub | 2 years ago | itscam
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    [Crash Log] Sun, 09 Nov 2014 15:14:03 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.pnminh.dfytask
    ExpandableListAdapter.getChildrenCount
    1. com.pnminh.dfytask.adapter.ExpandableListAdapter.getChildrenCount(ExpandableListAdapter.java:94)
    1 frame
  4. com.diegocarloslima.fgelv
    FloatingGroupExpandableListView.dispatchDraw
    1. com.diegocarloslima.fgelv.lib.WrapperExpandableListAdapter.getChildrenCount(WrapperExpandableListAdapter.java:49)
    2. com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.drawFloatingGroupIndicator(FloatingGroupExpandableListView.java:446)
    3. com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.dispatchDraw(FloatingGroupExpandableListView.java:171)
    3 frames
  5. Android Platform
    View.draw
    1. android.view.View.draw(View.java:14856)
    2. android.widget.AbsListView.draw(AbsListView.java:5051)
    3. android.view.View.getDisplayList(View.java:13744)
    4. android.view.View.getDisplayList(View.java:13786)
    5. android.view.View.draw(View.java:14563)
    6. android.view.ViewGroup.drawChild(ViewGroup.java:3316)
    7. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3153)
    8. android.view.View.draw(View.java:14856)
    9. android.view.View.getDisplayList(View.java:13744)
    10. android.view.View.getDisplayList(View.java:13786)
    11. android.view.View.draw(View.java:14563)
    12. android.view.ViewGroup.drawChild(ViewGroup.java:3316)
    13. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3153)
    14. android.view.View.getDisplayList(View.java:13739)
    15. android.view.View.getDisplayList(View.java:13786)
    16. android.view.View.draw(View.java:14563)
    17. android.view.ViewGroup.drawChild(ViewGroup.java:3316)
    18. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3153)
    19. android.view.View.draw(View.java:14856)
    19 frames
  6. Android Support v4
    ViewPager.draw
    1. android.support.v4.view.ViewPager.draw(ViewPager.java:2171)
    1 frame
  7. Android Platform
    FrameLayout.draw
    1. android.view.View.getDisplayList(View.java:13744)
    2. android.view.View.getDisplayList(View.java:13786)
    3. android.view.View.draw(View.java:14563)
    4. android.view.ViewGroup.drawChild(ViewGroup.java:3316)
    5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3153)
    6. android.view.View.getDisplayList(View.java:13739)
    7. android.view.View.getDisplayList(View.java:13786)
    8. android.view.View.draw(View.java:14563)
    9. android.view.ViewGroup.drawChild(ViewGroup.java:3316)
    10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3153)
    11. android.view.View.getDisplayList(View.java:13739)
    12. android.view.View.getDisplayList(View.java:13786)
    13. android.view.View.draw(View.java:14563)
    14. android.view.ViewGroup.drawChild(ViewGroup.java:3316)
    15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3153)
    16. android.view.View.draw(View.java:14856)
    17. android.widget.FrameLayout.draw(FrameLayout.java:467)
    17 frames
  8. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2621)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.view.View.getDisplayList(View.java:13744)
    2. android.view.View.getDisplayList(View.java:13786)
    3. android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1411)
    4. android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1359)
    5. android.view.ViewRootImpl.draw(ViewRootImpl.java:2677)
    6. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2541)
    7. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2156)
    8. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1251)
    9. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6379)
    10. android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
    11. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    12. android.view.Choreographer.doFrame(Choreographer.java:561)
    13. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
    14. android.os.Handler.handleCallback(Handler.java:730)
    15. android.os.Handler.dispatchMessage(Handler.java:92)
    16. android.os.Looper.loop(Looper.java:137)
    17. android.app.ActivityThread.main(ActivityThread.java:5493)
    17 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames