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

GitHub | negue | 12 months ago
  1. 0

    GitHub comment 227#164209784

    GitHub | 12 months ago | negue
    java.lang.ArrayIndexOutOfBoundsException: length=509; index=-1
  2. 0

    Android java.lang.ArrayIndexOutOfBoundsException: length=10; index=10

    Stack Overflow | 3 years ago | Paul
    java.lang.ArrayIndexOutOfBoundsException: length=10; index=10
  3. 0

    Android - Getting error when using fromHtml() to show content in a TextView

    Stack Overflow | 2 years ago
    java.lang.ArrayIndexOutOfBoundsException: length=500; index=4057
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException when parsing JSON

    Stack Overflow | 2 years ago
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
  6. 0

    I can't figure the issue with a stacktrace error

    Stack Overflow | 4 years ago | djmedic
    java.lang.ArrayIndexOutOfBoundsException: length=244; index=1753

  1. Macapon 2 times, last 8 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. java.lang.ArrayIndexOutOfBoundsException

    length=509; index=-1

    at android.text.StaticLayout.calculateEllipsis()
  2. Android Platform
    FrameLayout.onMeasure
    1. android.text.StaticLayout.calculateEllipsis(StaticLayout.java:804)
    2. android.text.StaticLayout.out(StaticLayout.java:723)
    3. android.text.StaticLayout.generate(StaticLayout.java:417)
    4. android.text.StaticLayout.<init>(StaticLayout.java:145)
    5. android.widget.TextView.makeSingleLayout(TextView.java:6399)
    6. android.widget.TextView.makeNewLayout(TextView.java:6252)
    7. android.widget.TextView.onMeasure(TextView.java:6636)
    8. android.view.View.measure(View.java:16498)
    9. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5140)
    10. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1406)
    11. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1054)
    12. android.widget.LinearLayout.onMeasure(LinearLayout.java:592)
    13. android.view.View.measure(View.java:16498)
    14. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5140)
    15. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1406)
    16. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1054)
    17. android.widget.LinearLayout.onMeasure(LinearLayout.java:592)
    18. android.view.View.measure(View.java:16498)
    19. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1233)
    20. android.widget.LinearLayout.onMeasure(LinearLayout.java:592)
    21. android.view.View.measure(View.java:16498)
    22. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5140)
    23. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1406)
    24. android.widget.LinearLayout.measureVertical(LinearLayout.java:697)
    25. android.widget.LinearLayout.onMeasure(LinearLayout.java:590)
    26. android.view.View.measure(View.java:16498)
    27. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5140)
    28. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    28 frames
  3. Android v7
    CardView.onMeasure
    1. android.support.v7.widget.CardView.onMeasure(CardView.java:196)
    1 frame
  4. Android Platform
    View.measure
    1. android.view.View.measure(View.java:16498)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5140)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1406)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:697)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:590)
    6. android.view.View.measure(View.java:16498)
    6 frames
  5. Android v7
    RecyclerView.onTouchEvent
    1. android.support.v7.widget.RecyclerView$LayoutManager.measureChildWithMargins(RecyclerView.java:6874)
    2. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1396)
    3. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333)
    4. android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1161)
    5. android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1018)
    6. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1492)
    7. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2416)
    7 frames
  6. Android Platform
    ViewGroup.dispatchTouchEvent
    1. android.view.View.dispatchTouchEvent(View.java:7697)
    2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2224)
    3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
    4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    20. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    21. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    22. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    23. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    24. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    25. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    26. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2230)
    27. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1973)
    27 frames
  7. Android
    PhoneWindow.superDispatchTouchEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2132)
    2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1579)
    2 frames
  8. Android Platform
    Activity.dispatchTouchEvent
    1. android.app.Activity.dispatchTouchEvent(Activity.java:2501)
    1 frame
  9. Android v7
    WindowCallbackWrapper.dispatchTouchEvent
    1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)
    2. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)
    2 frames
  10. Android
    PhoneWindow$DecorView.dispatchTouchEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2080)
    1 frame
  11. Android Platform
    ActivityThread.main
    1. android.view.View.dispatchPointerEvent(View.java:7877)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4089)
    3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3978)
    4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3456)
    5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3506)
    6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3475)
    7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3560)
    8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3483)
    9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3617)
    10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3456)
    11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3506)
    12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3475)
    13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3483)
    14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3456)
    15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5737)
    16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5717)
    17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5688)
    18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5839)
    19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:182)
    20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)
    21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:174)
    22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5799)
    23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5858)
    24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    25. android.view.Choreographer.doCallbacks(Choreographer.java:562)
    26. android.view.Choreographer.doFrame(Choreographer.java:530)
    27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    28. android.os.Handler.handleCallback(Handler.java:733)
    29. android.os.Handler.dispatchMessage(Handler.java:95)
    30. android.os.Looper.loop(Looper.java:137)
    31. android.app.ActivityThread.main(ActivityThread.java:5082)
    31 frames
  12. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  13. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598)
    2 frames
  14. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame