Whenever I try to play a video it crashes
To Reproduce
Steps to reproduce
Just play a video from a local file.
Expected behavior
It crashes and give me a crash log
Screenshots/Logs
App version: 1.3.3 (1889155)
Android version: 10 (29)
Device brand: OPPO
Device manufacturer: OPPO
Device model: CPH2179 (OP4F2F)
MPV version: v0.41.0-UNKNOWN
ffmpeg version: 7fc335cb27
libplacebo version: v7.364.0 (v7.360.0-34-gd5ef02c7)
Exception:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object kotlinx.coroutines.flow.StateFlowImpl.getValue()' on a null object reference
at app.gyrolet.mpvrx.ui.player.PlayerViewModel$1.invokeSuspend(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:152)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:9)
at kotlinx.coroutines.DispatchedTask.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:114)
at androidx.core.app.ActivityRecreator$1.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:11)
at kotlinx.coroutines.scheduling.TaskImpl.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:118)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@45ebb79, Dispatchers.Default.limitedParallelism(1)]
Logcat:
Device Info (please complete the following information):
- Device oppo A15s
- OS Android
- Version 10
Additional context
Add any other context about the problem here.
Whenever I try to play a video it crashes
To Reproduce
Steps to reproduce
Just play a video from a local file.
Expected behavior
It crashes and give me a crash log
Screenshots/Logs
App version: 1.3.3 (1889155)
Android version: 10 (29)
Device brand: OPPO
Device manufacturer: OPPO
Device model: CPH2179 (OP4F2F)
MPV version: v0.41.0-UNKNOWN
ffmpeg version: 7fc335cb27
libplacebo version: v7.364.0 (v7.360.0-34-gd5ef02c7)
Exception:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object kotlinx.coroutines.flow.StateFlowImpl.getValue()' on a null object reference
at app.gyrolet.mpvrx.ui.player.PlayerViewModel$1.invokeSuspend(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:152)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:9)
at kotlinx.coroutines.DispatchedTask.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:114)
at androidx.core.app.ActivityRecreator$1.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:11)
at kotlinx.coroutines.scheduling.TaskImpl.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-5b099654bcaa9a951a53b54cb61aed67e99585a07b0b362d79965a07cf335bf9:118)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@45ebb79, Dispatchers.Default.limitedParallelism(1)]
Logcat:
Device Info (please complete the following information):
Additional context
Add any other context about the problem here.