We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a bottom sheet that I sometimes hide by unmounting the <BottomSheetBehavior />.
<BottomSheetBehavior />
Occasionally, when it hides, the application crashes.
Here's the stack trace:
03-07 22:27:05.252 3848 3848 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.bottomsheetbehavior.RNBottomSheetBehavior.getPeekHeight()' on a null object reference 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at com.bottomsheetbehavior.BackdropBottomSheetBehavior.onDependentViewChanged(BackdropBottomSheetBehavior.java:83) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at androidx.coordinatorlayout.widget.CoordinatorLayout.onChildViewsChanged(CoordinatorLayout.java:1393) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at androidx.coordinatorlayout.widget.CoordinatorLayout$OnPreDrawListener.onPreDraw(CoordinatorLayout.java:2023) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2474) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1460) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7183) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:761) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:696) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6680) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 03-07 22:27:05.252 3848 3848 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 03-07 22:27:05.256 1166 6174 W ActivityManager: Force finishing activity com.codeblogcorp.covy/.MainActivity
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a bottom sheet that I sometimes hide by unmounting the
<BottomSheetBehavior />
.Occasionally, when it hides, the application crashes.
Here's the stack trace:
The text was updated successfully, but these errors were encountered: