Photoview 拖拽crash

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213): Crash

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213): java.lang.IllegalArgumentException: pointerIndex out of range

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.MotionEvent.nativeGetAxisValue(Native Method)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.MotionEvent.getX(MotionEvent.java:1979)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.support.v4.view.MotionEventCompatEclair.getX(MotionEventCompatEclair.java:32)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.support.v4.view.MotionEventCompat$EclairMotionEventVersionImpl.getX(MotionEventCompat.java:91)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.support.v4.view.MotionEventCompat.getX(MotionEventCompat.java:219)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.support.v4.view.ViewPager.onInterceptTouchEvent(ViewPager.java:1839)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1859)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2068)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1515)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.app.Activity.dispatchTouchEvent(Activity.java:2475)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.support.v7.app.ActionBarActivityDelegateICS$WindowCallbackWrapper.dispatchTouchEvent(ActionBarActivityDelegateICS.java:268)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2016)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.View.dispatchPointerEvent(View.java:7894)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3986)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3865)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3426)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3476)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3445)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3552)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3453)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3609)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3426)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3476)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3445)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3453)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3426)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5571)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5551)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5522)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5651)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5624)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5670)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.Choreographer.doCallbacks(Choreographer.java:574)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.Choreographer.doFrame(Choreographer.java:542)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.os.Handler.handleCallback(Handler.java:733)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.os.Handler.dispatchMessage(Handler.java:95)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.os.Looper.loop(Looper.java:136)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at android.app.ActivityThread.main(ActivityThread.java:5111)

F/[A: GlobalCrashHandler.handleException(L:54) ] default( 7213):  at java.lang.reflect.




必现的bug, 这个大神有好的解决方案么?

chwei_sunshine
浏览 1886回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Android