标题: 高级图片框问题 [打印本页] 作者: 商继珠 时间: 2020-5-16 08:37 标题: 高级图片框问题 高级图片框在启用<缩放手势启用>后,在操作过程中经常出现闪退的情况,如何解决?堆栈跟踪(崩溃信息):
java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEvent.java:2205)
at android.support.v4.view.ViewPager.onInterceptTouchEvent(ViewPager.java:2072)
at hsh.anzh.zj.zl.rg_anzhshtrqbdl.onInterceptTouchEvent(Unknown Source:4)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2601)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2747)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2747)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2747)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2747)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2747)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2747)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:1019)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1929)
at android.app.Activity.dispatchTouchEvent(Activity.java:3510)
at hsh.anzh.jb.rg_chk.dispatchTouchEvent(Unknown Source:8)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:967)
at android.view.View.dispatchPointerEvent(View.java:12863)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5305)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5074)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4547)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4617)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4575)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4730)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4583)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4787)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4547)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4617)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4575)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4583)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4547)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7315)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7284)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7239)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7427)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:196)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:339)
at android.os.Looper.loop(Looper.java:188)
at android.app.ActivityThread.main(ActivityThread.java:7083)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)