aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.83k stars 682 forks source link

Crash on the lib #338

Closed jndefosse closed 6 years ago

jndefosse commented 6 years ago

Hi we use the lib and our bug report reports this bug :

Fatal Exception: java.lang.IllegalArgumentException View=com.android.internal.policy.PhoneWindow$DecorView{dd211fd V.E...... R......D 0,0-1440,2560} not attached to window manager

And i show the trace

android.view.WindowManagerGlobal.findViewLocked (WindowManagerGlobal.java:451)
android.view.WindowManagerGlobal.removeView (WindowManagerGlobal.java:377)
android.view.WindowManagerImpl.removeViewImmediate (WindowManagerImpl.java:122)
android.app.Dialog.dismissDialog (Dialog.java:546)
android.app.Dialog.dismiss (Dialog.java:529)

com.github.rubensousa.bottomsheetbuilder.BottomSheetMenuDialog.access$101 (BottomSheetMenuDialog.java:34)
com.github.rubensousa.bottomsheetbuilder.BottomSheetMenuDialog$3.onStateChanged (BottomSheetMenuDialog.java:201)

android.support.design.widget.BottomSheetBehavior.setStateInternal (BottomSheetBehavior.java:576)
android.support.design.widget.BottomSheetBehavior$SettleRunnable.run (BottomSheetBehavior.java:760)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:920)
android.view.Choreographer.doCallbacks (Choreographer.java:695)
android.view.Choreographer.doFrame (Choreographer.java:628)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:906)
android.os.Handler.handleCallback (Handler.java:739)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:158)
android.app.ActivityThread.main (ActivityThread.java:7225)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
jndefosse commented 6 years ago

Oups, it's not the good lib...