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 when setStatusBarColor: dialog must not be null #21

Closed
trietbui85 opened this issue Aug 4, 2020 · 1 comment
Closed

Crash when setStatusBarColor: dialog must not be null #21

trietbui85 opened this issue Aug 4, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@trietbui85
Copy link

Crash log:

Fatal Exception: java.lang.IllegalStateException: dialog must not be null
       at com.andrefrsousa.superbottomsheet.SuperBottomSheetFragment.setStatusBarColor(SourceFile:3)
       at com.andrefrsousa.superbottomsheet.SuperBottomSheetFragment.setStatusBarColorOnScroll(SourceFile:5)
       at com.andrefrsousa.superbottomsheet.SuperBottomSheetFragment.access$setStatusBarColorOnScroll(SourceFile:1)
       at com.andrefrsousa.superbottomsheet.SuperBottomSheetFragment$iniBottomSheetUiComponents$3.onSlide(SourceFile:2)
       at com.google.android.material.bottomsheet.BottomSheetBehavior.dispatchOnSlide(SourceFile:6)
       at com.google.android.material.bottomsheet.BottomSheetBehavior$3.onViewPositionChanged(SourceFile:1)
       at f.j.a.c.n(SourceFile:9)
       at com.google.android.material.bottomsheet.BottomSheetBehavior$SettleRunnable.run(SourceFile:1)
       at android.os.Handler.handleCallback(Handler.java:739)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:179)
       at android.app.ActivityThread.main(ActivityThread.java:5730)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681)

Device: 100% OPPO phone. For now only see Android 5 & 6.

@andrefrsousa andrefrsousa added the bug Something isn't working label Oct 21, 2020
@andrefrsousa andrefrsousa added this to the 2.0.0 milestone Oct 21, 2020
@andrefrsousa andrefrsousa self-assigned this Oct 21, 2020
@andrefrsousa
Copy link
Owner

Fixed on version 2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants