Piasy / BigImageViewer

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻
MIT License
3.98k stars 402 forks source link

java.lang.IllegalArgumentException: pointerIndex out of range #217

Open z2893 opened 3 years ago

z2893 commented 3 years ago

有时会报java.lang.IllegalArgumentException: pointerIndex out of range

Piasy commented 3 years ago

惜字如金?完整栈呢?

z2893 commented 3 years ago

java.lang.IllegalArgumentException pointerIndex out of range

1 android.view.MotionEvent.nativeGetAxisValue(Native Method)

2 android.view.MotionEvent.getX(MotionEvent.java:2377) 3 androidx.viewpager.widget.ViewPager.onInterceptTouchEvent(ViewPager.java:2072) 4 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2635) 5 android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3088) 6 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2781) 7 android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3088) 8 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2781) 9 android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3088) 10 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2781) 11 android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3088) 12 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2781) 13 android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3088) 14 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2781) 15 android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3088) 16 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2781) 17 com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:498) 18 com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1853) 19 android.app.Activity.dispatchTouchEvent(Activity.java:4078) 20 androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69) 21 com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:456) 22 android.view.View.dispatchPointerEvent(View.java:14279) 23 android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5822) 24 android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5612) 25 android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5111) 26 android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5164) 27 android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5130) 28 android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5270) 29 android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5138) 30 android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5327) 31 android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5111) 32 android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5164) 33 android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5130) 34 android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5138) 35 android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5111) 36 android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7901) 37 android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7870) 38 android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7831) 39 android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8036) 40 android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:251) 41 android.os.MessageQueue.nativePollOnce(Native Method) 42 android.os.MessageQueue.next(MessageQueue.java:345) 43 android.os.Looper.loop(Looper.java:194) 44 android.app.ActivityThread.main(ActivityThread.java:7604) 45 java.lang.reflect.Method.invoke(Native Method) 46 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) 47 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:953)