Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on ZoomFrameLayout onTouchEvent Method #2

Open
abdulmic opened this issue Jun 15, 2023 · 0 comments
Open

Crash on ZoomFrameLayout onTouchEvent Method #2

abdulmic opened this issue Jun 15, 2023 · 0 comments

Comments

@abdulmic
Copy link

abdulmic commented Jun 15, 2023

On Scaling/Zooming the timeline it sometimes works fine but sometimes it crashes. with below stack trace

java.lang.NullPointerException: Parameter specified as non-null is null: method com.meitu.timeline.widget.ZoomFrameLayout$gestureListener$1.onScroll, parameter e1 at com.meitu.timeline.widget.ZoomFrameLayout$gestureListener$1.onScroll(Unknown Source:2) at android.view.GestureDetector.onTouchEvent(GestureDetector.java:731) at com.meitu.timeline.widget.ZoomFrameLayout.onTouchEvent(ZoomFrameLayout.kt:325) at android.view.View.dispatchTouchEvent(View.java:14368) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3857) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3535) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:770) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1952) at android.app.Activity.dispatchTouchEvent(Activity.java:4038) at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:70) at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:728) at android.view.View.dispatchPointerEvent(View.java:14636) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6582) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6360) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5796) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5849) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5815) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5971) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5823) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6028) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5796) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5849) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5815) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5823) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5796) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9032) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8889) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8842) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9169) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:194) at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method) at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:183) at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:9109) at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:9196)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant