java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference

GitHub | rakeshcusat | 2 months ago
  1. 0

    GitHub comment 412#254348746

    GitHub | 2 months ago | rakeshcusat
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NullPointerException in onAnimationUpdate

    GitHub | 1 month ago | wbervoets
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null object reference

    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.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()
    2. Android Support v4
      ViewPager.fakeDragBy
      1. android.support.v4.view.ViewPager.fakeDragBy(SourceFile:2542)
      1 frame
    3. ViewPagerIndicator
      CirclePageIndicator.onTouchEvent
      1. com.viewpagerindicator.CirclePageIndicator.onTouchEvent(SourceFile:310)
      1 frame
    4. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:9998)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2871)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      10. android.widget.ScrollView.dispatchTouchEvent(ScrollView.java:645)
      11. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      12. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      13. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      14. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      15. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      16. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      17. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      18. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      19. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
      20. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
      20 frames
    5. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2816)
      2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1848)
      2 frames
    6. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:3046)
      1 frame
    7. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(SourceFile:60)
      1 frame
    8. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2777)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:10233)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5397)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5233)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4726)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4692)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4834)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4700)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4891)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4726)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4692)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4700)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4673)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7359)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7237)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7198)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7469)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.os.MessageQueue.nativePollOnce(MessageQueue.java)
      21. android.os.MessageQueue.next(MessageQueue.java:323)
      22. android.os.Looper.loop(Looper.java:143)
      23. android.app.ActivityThread.main(ActivityThread.java:7229)
      23 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      1 frame
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames