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

Google Groups | Tasneem Bohra | 8 months 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

    android.support.v4.widget.ViewDragHelper.forceSettleCapturedViewAt

    Google Groups | 8 months ago | Tasneem Bohra
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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=1; index=1

      at android.support.v4.widget.ViewDragHelper.forceSettleCapturedViewAt()
    2. Android Support v4
      ViewDragHelper.shouldInterceptTouchEvent
      1. android.support.v4.widget.ViewDragHelper.forceSettleCapturedViewAt(Unknown Source)
      2. android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(Unknown Source)
      2 frames
    3. android.support.design
      CoordinatorLayout.onInterceptTouchEvent
      1. android.support.design.widget.SwipeDismissBehavior.onInterceptTouchEvent(Unknown Source)
      2. android.support.design.widget.Snackbar$Behavior.onInterceptTouchEvent(Unknown Source)
      3. android.support.design.widget.Snackbar$Behavior.onInterceptTouchEvent(Unknown Source)
      4. android.support.design.widget.CoordinatorLayout.setWindowInsets(Unknown Source)
      5. android.support.design.widget.CoordinatorLayout.onInterceptTouchEvent(Unknown Source)
      5 frames
    4. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1902)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      17 frames
    5. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2109)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1541)
      2 frames
    6. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2491)
      1 frame
    7. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(Unknown Source)
      2. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(Unknown Source)
      2 frames
    8. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2057)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:7981)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4384)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4255)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3801)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3851)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3820)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3927)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3828)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3984)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3801)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3851)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3820)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3828)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3801)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6116)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6096)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6050)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6246)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6208)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6268)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:591)
      26. android.view.Choreographer.doFrame(Choreographer.java:558)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
      28. android.os.Handler.handleCallback(Handler.java:808)
      29. android.os.Handler.dispatchMessage(Handler.java:103)
      30. android.os.Looper.loop(Looper.java:193)
      31. android.app.ActivityThread.main(ActivityThread.java:5304)
      31 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame