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

GitHub | tvajjhala | 2 months ago
  1. 0

    Array Out Of Bounds Exception when creating Bar Chart

    GitHub | 2 months ago | tvajjhala
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  2. 0

    GitHub comment 1777#219671274

    GitHub | 7 months ago | surfer190
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  3. 0

    Crashes with index out of bound exception when getting the xAxis labels

    GitHub | 8 months ago | Seichis
    java.lang.IndexOutOfBoundsException: Invalid index 8, size is 8
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1447#195232114

    GitHub | 9 months ago | hiroyachiba
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  6. 0

    HorizontalBarChart: IndexOutOfBoundsException when plotting BarData without entries

    GitHub | 7 months ago | jan-glx
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

  1. bmacedo 4 times, last 6 days ago
  2. mhicauber 1 times, last 6 days ago
  3. filpgame 2 times, last 1 week ago
  4. tvrmsmith 1 times, last 1 week ago
  5. Indri Yunita 12 times, last 1 week ago
67 more registered users
28 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. 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.github.mikephil
    BarLineChartBase.onDraw
    1. com.github.mikephil.charting.renderer.XAxisRendererHorizontalBarChart.drawLabels(XAxisRendererHorizontalBarChart.java:127)
    2. com.github.mikephil.charting.renderer.XAxisRendererHorizontalBarChart.renderAxisLabels(XAxisRendererHorizontalBarChart.java:78)
    3. com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:267)
    3 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.View.draw(View.java:17469)
    2. android.view.View.updateDisplayListIfDirty(View.java:16464)
    3. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    4. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    5. android.view.View.updateDisplayListIfDirty(View.java:16424)
    6. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    7. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    8. android.view.View.updateDisplayListIfDirty(View.java:16424)
    9. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    10. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    11. android.view.View.updateDisplayListIfDirty(View.java:16424)
    12. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    13. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    14. android.view.View.updateDisplayListIfDirty(View.java:16424)
    15. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    16. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    17. android.view.View.updateDisplayListIfDirty(View.java:16424)
    18. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    19. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    20. android.view.View.updateDisplayListIfDirty(View.java:16424)
    21. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3905)
    22. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3885)
    23. android.view.View.updateDisplayListIfDirty(View.java:16424)
    24. android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:325)
    25. android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:331)
    26. android.view.ThreadedRenderer.draw(ThreadedRenderer.java:366)
    27. android.view.ViewRootImpl.draw(ViewRootImpl.java:3140)
    28. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2939)
    29. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2522)
    30. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
    31. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7414)
    32. android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
    33. android.view.Choreographer.doCallbacks(Choreographer.java:695)
    34. android.view.Choreographer.doFrame(Choreographer.java:631)
    35. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
    36. android.os.Handler.handleCallback(Handler.java:739)
    37. android.os.Handler.dispatchMessage(Handler.java:95)
    38. android.os.Looper.loop(Looper.java:158)
    39. android.app.ActivityThread.main(ActivityThread.java:7224)
    39 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames