我的 ACRA 的暗恋报告告诉我 Galaxy nexus 4.0.2 在我的应用程序中至少有 4 次出现以下异常。我怀疑用户在横向的 WebView 上进行了一些多点触控操作(从 ACRA 的报告中得知),但我不知道为什么会导致这种情况。
java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetPointerId(Native Method)
at android.view.MotionEvent.getPointerId(MotionEvent.java:1927)
at android.view.ScaleGestureDetector.onTouchEvent(ScaleGestureDetector.java:224)
at android.webkit.WebView.handleMultiTouchInWebView(WebView.java:6530)
at android.webkit.WebView$TouchEventQueue.handleQueuedMotionEvent(WebView.java:8088)
at android.webkit.WebView$TouchEventQueue.enqueueTouchEvent(WebView.java:7986)
at android.webkit.WebView.onTouchEvent(WebView.java:5963)
at android.view.View.dispatchTouchEvent(View.java:5486)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1953)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1714)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1728)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1728)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1728)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1728)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1728)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1892)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1371)
at android.app.Activity.dispatchTouchEvent(Activity.java:2364)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1840)
at android.view.View.dispatchPointerEvent(View.java:5662)
at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:2863)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4340)
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)
我从粉碎报告中看不到任何与我的代码相关的内容。我在我的应用程序的很多地方都使用了 WebView,但不确定哪里有问题。
我相信用户对此并不满意,他/她可能会认为我的应用程序设计不佳。有什么我可以做的吗?有人有这个问题吗?任何信息将不胜感激。