java.lang.ArrayIndexOutOfBoundsException: length=45; index=-1

GitHub | danielvandenberg95 | 4 months ago
  1. 0

    GitHub comment 207#240661471

    GitHub | 4 months ago | danielvandenberg95
    java.lang.ArrayIndexOutOfBoundsException: length=45; index=-1
  2. 0

    ArrayIndexOutOfBoundsException

    GitHub | 2 years ago | blinskey
    java.lang.ArrayIndexOutOfBoundsException: length=500; index=500
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Reliable crash when opening a certain cache

    GitHub | 4 years ago | pilhuhn
    java.lang.ArrayIndexOutOfBoundsException: length=116; index=507
  5. 0

    ArrayIndexOutOfBoundsException with custom Android Adapter for multiple views in ListView

    Stack Overflow | 7 years ago | Dan
    java.lang.ArrayIndexOutOfBoundsException

    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.ArrayIndexOutOfBoundsException

      length=45; index=-1

      at android.text.StaticLayout.calculateEllipsis()
    2. Android Platform
      View.measure
      1. android.text.StaticLayout.calculateEllipsis(StaticLayout.java:667)
      2. android.text.StaticLayout.out(StaticLayout.java:631)
      3. android.text.StaticLayout.generate(StaticLayout.java:423)
      4. android.text.StaticLayout.<init>(StaticLayout.java:140)
      5. android.widget.TextView.makeSingleLayout(TextView.java:6449)
      6. android.widget.TextView.makeNewLayout(TextView.java:6306)
      7. android.widget.TextView.onMeasure(TextView.java:6663)
      8. android.view.View.measure(View.java:17586)
      9. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:728)
      10. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:464)
      11. android.view.View.measure(View.java:17586)
      12. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5543)
      13. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
      14. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1083)
      15. android.widget.LinearLayout.onMeasure(LinearLayout.java:615)
      16. android.view.View.measure(View.java:17586)
      16 frames
    3. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$LayoutManager.measureChildWithMargins(RecyclerView.java:7487)
      2. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1416)
      3. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
      4. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
      5. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
      6. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
      7. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
      7 frames
    4. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:15715)
      2. android.view.ViewGroup.layout(ViewGroup.java:5046)
      3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
      4. android.view.View.layout(View.java:15715)
      5. android.view.ViewGroup.layout(ViewGroup.java:5046)
      6. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
      7. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
      8. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
      9. android.view.View.layout(View.java:15715)
      10. android.view.ViewGroup.layout(ViewGroup.java:5046)
      11. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
      12. android.view.View.layout(View.java:15715)
      13. android.view.ViewGroup.layout(ViewGroup.java:5046)
      14. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
      15. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
      16. android.view.View.layout(View.java:15715)
      17. android.view.ViewGroup.layout(ViewGroup.java:5046)
      17 frames
    5. Android v7
      ActionBarOverlayLayout.onLayout
      1. android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:435)
      1 frame
    6. Android Platform
      ViewRootImpl$TraversalRunnable.run
      1. android.view.View.layout(View.java:15715)
      2. android.view.ViewGroup.layout(ViewGroup.java:5046)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
      5. android.view.View.layout(View.java:15715)
      6. android.view.ViewGroup.layout(ViewGroup.java:5046)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
      10. android.view.View.layout(View.java:15715)
      11. android.view.ViewGroup.layout(ViewGroup.java:5046)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
      14. android.view.View.layout(View.java:15715)
      15. android.view.ViewGroup.layout(ViewGroup.java:5046)
      16. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2097)
      17. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1854)
      18. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1069)
      19. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5915)
      19 frames