-
Notifications
You must be signed in to change notification settings - Fork 24
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
Crashes on InterceptTouchEvent #15
Comments
I am also observing the same crash. Any plans to fix it ? |
Hi, if you'd like us to investigate this, please provide one of
|
This crash is happening for me too. Unfortunately, its not a consistent behaviour. Its not happening 95% of the time, but in some cases, it happens right when the activity containing the bottom sheet is started. |
hi i am new to android studio but i was having the same issue with AnchorSheet lib. I was setting VISIBILITY to parent view of AnchorSheet. when i changed my code and achieved the same thing with changing state of anchor sheet (AnchorSheetBehavior.STATE_HIDDEN) problem solved. |
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at com.trafi.anchorbottomsheetbehavior.AnchorBottomSheetBehavior.onInterceptTouchEvent(AnchorBottomSheetBehavior.java:366)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.support.design.widget.CoordinatorLayout.performIntercept(CoordinatorLayout.java:473)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.support.design.widget.CoordinatorLayout.onInterceptTouchEvent(CoordinatorLayout.java:510)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2511)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:448)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1829)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.app.Activity.dispatchTouchEvent(Activity.java:3321)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:410)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.View.dispatchPointerEvent(View.java:12016)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4809)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4623)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4161)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4214)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4180)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4307)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4188)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4364)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4161)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4214)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4180)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4188)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4161)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6682)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6656)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6617)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6785)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:187)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:178)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6756)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6808)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:778)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:707)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.os.Looper.loop(Looper.java:172)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6590)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
11-14 10:21:33.204 19987 19987 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The text was updated successfully, but these errors were encountered: