Open under3415 opened 10 months ago
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:
_TypeError: Null check operator used on a null value in just_audio.dart in AudioPlayer._setPlatformActive.setPlatform at line 1465 within just_audio
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!
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.