java.lang.ArrayIndexOutOfBoundsException: length=5; index=5

GitHub | XxGoliathusxX | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bug

    GitHub | 11 months ago | XxGoliathusxX
    java.lang.ArrayIndexOutOfBoundsException: length=5; index=5

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=5; index=5

      at com.github.channguyen.rsv.RangeSliderView.preComputeDrawingPosition()
    2. com.github.channguyen
      RangeSliderView$1.onPreDraw
      1. com.github.channguyen.rsv.RangeSliderView.preComputeDrawingPosition(RangeSliderView.java:259)
      2. com.github.channguyen.rsv.RangeSliderView.access$100(RangeSliderView.java:19)
      3. com.github.channguyen.rsv.RangeSliderView$1.onPreDraw(RangeSliderView.java:150)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
      2. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2037)
      3. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1103)
      4. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6057)
      5. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
      6. android.view.Choreographer.doCallbacks(Choreographer.java:580)
      7. android.view.Choreographer.doFrame(Choreographer.java:550)
      8. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
      9. android.os.Handler.handleCallback(Handler.java:739)
      10. android.os.Handler.dispatchMessage(Handler.java:95)
      11. android.os.Looper.loop(Looper.java:135)
      12. android.app.ActivityThread.main(ActivityThread.java:5431)
      12 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707)
      2 frames