4

你能帮我追踪这个堆栈跟踪吗 - 它似乎不在我的代码中,或者至少给我一些跟踪问题的提示?

java.lang.IllegalArgumentException: pointerIndex out of range
    at android.view.MotionEvent.nativeGetAxisValue(Native Method)
    at android.view.MotionEvent.getY(MotionEvent.java:1989)
    at android.widget.FastScroller.onTouchEvent(FastScroller.java:854)
    at android.widget.AbsListView.onTouchEvent(AbsListView.java:3024)
    at android.view.View.dispatchTouchEvent(View.java:5564)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2052)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1813)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2080)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2058)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1827)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1931)
    at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1390)
    at android.app.Activity.dispatchTouchEvent(Activity.java:2364)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1879)
    at android.view.View.dispatchPointerEvent(View.java:5766)
    at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:2890)
    at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2466)
    at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:845)
    at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2475)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4441)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    at dalvik.system.NativeStart.main(Native Method)

我有各种可能源自的列表,并且只有一个使用 FastScroller。(如果我假设这是快速滚动条。)

4

1 回答 1

6

请参阅Android 错误数据库条目

当我ScaleGestureDetector通过在ViewPager.onTouchEvent.

于 2012-10-02T15:13:12.453 回答