java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 at android.support.v4.widget.ViewDragHelper.saveLastMotion(ViewDragHelper.java:849) at android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(ViewDragHelper.java:1057) at com.mxn.soul.flowingdrawer_core.LeftDrawerLayout.onInterceptTouchEvent(LeftDrawerLayout.java:212) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2108)

Stack Overflow | Lazar K | 5 months ago
  1. 1

    PhotoView zoom out on ImageView crashes app

    Stack Overflow | 5 months ago | Lazar K
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 at android.support.v4.widget.ViewDragHelper.saveLastMotion(ViewDragHelper.java:849) at android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(ViewDragHelper.java:1057) at com.mxn.soul.flowingdrawer_core.LeftDrawerLayout.onInterceptTouchEvent(LeftDrawerLayout.java:212) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2108)
  2. 0

    Application crashes while scrolling my custom gridView

    Stack Overflow | 2 years ago | Nayra Ahmed
    java.lang.ArrayIndexOutOfBoundsException: length=2; index=2 at android.widget.AbsListView$RecycleBin.addScrapView(AbsListView.java:6355)
  3. 0

    Add item in MergeAdapter causes NullPointerException

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

    Automated exception search integrated into your IDE

  5. 0

    Crash when updating adapter in listview

    Stack Overflow | 5 years ago | johan
    java.lang.ArrayIndexOutOfBoundsException

    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.saveLastMotion(ViewDragHelper.java:849) at android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(ViewDragHelper.java:1057) at com.mxn.soul.flowingdrawer_core.LeftDrawerLayout.onInterceptTouchEvent(LeftDrawerLayout.java:212) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2108)

      at android.view.ViewGroup.dispatchTransformedTouchEvent()
    2. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      2. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      3. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      4. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      5. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      6. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      7. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      8. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      9. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      10. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      10 frames
    3. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)
      2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)
      2 frames
    4. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2771)
      1 frame
    5. com.wilsapp.wilsapp
      Buyer_Home_Page.dispatchTouchEvent
      1. com.wilsapp.wilsapp.Buyer_Home_Page.dispatchTouchEvent(Buyer_Home_Page.java:411)
      1 frame
    6. 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
    7. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)
      1 frame
    8. Android Platform
      Handler.dispatchMessage
      1. android.view.View.dispatchPointerEvent(View.java:9520)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5922)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5896)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5857)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6025)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5996)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6048)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      26. android.view.Choreographer.doFrame(Choreographer.java:600)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      28. android.os.Handler.handleCallback(Handler.java:739)
      29. android.os.Handler.dispatchMessage(Handler.java:95)
      29 frames