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

Solutions on the web

via GitHub by rakeshcusat
, 1 year ago
Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference
via GitHub by mehdihaddad
, 1 year ago
Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference
via GitHub by mehdihaddad
, 10 months ago
Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference
via GitHub by bkrettly
, 3 months ago
Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference	at android.support.v4.view.ViewPager.fakeDragBy(SourceFile:2542)	at com.viewpagerindicator.CirclePageIndicator.onTouchEvent(SourceFile:310)	at android.view.View.dispatchTouchEvent(View.java:9998)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2871)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.widget.ScrollView.dispatchTouchEvent(ScrollView.java:645)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)	at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2816)	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1848)	at android.app.Activity.dispatchTouchEvent(Activity.java:3046)	at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(SourceFile:60)	at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2777)	at android.view.View.dispatchPointerEvent(View.java:10233)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5397)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5233)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4726)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4692)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4834)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4700)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4891)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4726)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4692)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4700)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7359)	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7237)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7198)	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7469)	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)	at android.os.MessageQueue.nativePollOnce(MessageQueue.java)	at android.os.MessageQueue.next(MessageQueue.java:323)	at android.os.Looper.loop(Looper.java:143)	at android.app.ActivityThread.main(ActivityThread.java:7229)	at java.lang.reflect.Method.invoke(Method.java)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)