尝试在空对象引用上调用虚拟方法'void android.view.VelocityTracker.clear()'

时间:2019-07-31 12:42:34

标签: android kotlin scrollview

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

我已经搜索了整个代码,没有在任何地方使用速度跟踪器

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.VelocityTracker.clear()' on a null object reference 
at android.widget.ScrollView.onTouchEvent + 695(ScrollView.java:695)
at android.view.View.dispatchTouchEvent + 11777(View.java:11777)
at android.view.ViewGroup.dispatchTransformedTouchEvent +2962(ViewGroup.java:2962)
at android.view.ViewGroup.dispatchTouchEvent + 2643(ViewGroup.java:2643)

0 个答案:

没有答案