-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
AudioPlayer._setPlatformActive.setPlatform Null check operator used on a null value #1120
Comments
this also happen to me |
hi, any updates? @ryanheise @under3415 |
I need someone to submit a bug report with a minimal reproduction project and steps to reproduce. |
this also happen to me,so how to resolve it ? |
I don't know how to replicate this issue. It happens infrequently in the wild |
I have the same issue: It is not reproducible: it happens in production "in the wild" but not during development. I haven't been able to identify a specific pattern: it happens on any Android version, and any device (does not happen on iOS). In the last month, it has affected 5% of my active users (37k) at least one time. It's been happening at least as far back as May 2023. @ryanheise If I can provide any extra information or do some tests to help you debug this issue, please let me know! |
I have resolved these errors by using this approach:
Also, if obfuscating add this to R8 rules
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio. |
Which API doesn't behave as documented, and how does it misbehave?
AudioPlayer._setPlatformActive.setPlatform throws "Null check operator used on a null value" error
Minimal reproduction project
"The example"
I cannot reproduce this bug. This occurs "in the wild", I get this error in crashlytics, quite regularly.
Last time on Galaxy A03 Core on Android 12, but no rules, different devices and versions
To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
Error messages
Expected behavior
Handle a null or prevent the null from occurring? I don't really understand what is going on here, does not seem to be related to my code.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
Flutter SDK version
Additional context
Sorry I cannot replicate this. Feel free to close if this is not useful.
The text was updated successfully, but these errors were encountered: