Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

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 android.support.design.widget.SwipeDismissBehavior.onInterceptTouchEvent(SwipeDismissBehavior.java:191)	at android.support.design.widget.Snackbar$Behavior.onInterceptTouchEvent(Snackbar.java:847)	at android.support.design.widget.Snackbar$Behavior.onInterceptTouchEvent(Snackbar.java:824)	at android.support.design.widget.CoordinatorLayout.performIntercept(CoordinatorLayout.java:436)	at android.support.design.widget.CoordinatorLayout.onInterceptTouchEvent(CoordinatorLayout.java:475)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1961)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2406)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2107)	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2372)	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1722)	at android.app.Activity.dispatchTouchEvent(Activity.java:2742)	at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)	at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2333)	at android.view.View.dispatchPointerEvent(View.java:8742)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4136)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4002)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3557)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3610)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3576)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3693)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3584)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3750)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3557)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3610)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3576)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3584)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3557)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5823)	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5797)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5768)	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5913)	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)	at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)	at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)	at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5884)	at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5936)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)	at android.view.Choreographer.doCallbacks(Choreographer.java:580)	at android.view.Choreographer.doFrame(Choreographer.java:548)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:211)	at android.app.ActivityThread.main(ActivityThread.java:5371)	at java.lang.reflect.Method.invoke(Method.java)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:945)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:740)