InnerTune
InnerTune copied to clipboard
App crashes when adding multiple songs with little delay
Checklist
- [X] I am able to reproduce the bug with the latest version.
- [X] I've checked that there is no issue about this bug.
- [X] This issue contains only one bug.
- [X] The title of this issue accurately describes the bug.
Steps to reproduce the bug
- add 50+ songs and download
- clear app from recents screen
Expected behavior
app continues to run normally
Actual behavior
app crashes less than a second after opening it, you are able to bypass this by tapping a different tab before it crashes.
Screenshots/Screen recordings
No response
Logs
No response
Music version
0.3.1
Android version
Android 12.1
Additional information
No response
I have the same problem on android 11, but downloading 24 - 26 songs
Can you provide log?
@z-huang
I have the same issue described above:
type: crash osVersion: google/raven/raven:12/SQ3A.220705.004/2022081800:user/release-keys package: com.zionhuang.music:9 process: com.zionhuang.music
java.lang.NullPointerException at com.zionhuang.music.utils.DownloadProgressMapLiveData$onActive$1$1.invoke(DownloadProgressMapLiveData.kt:25) at com.zionhuang.music.utils.DownloadProgressMapLiveData$onActive$1.invokeSuspend(DownloadProgressMapLiveData.kt:16) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:14) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@eabcb8a, Dispatchers.IO]
I temporarily removed displaying downloading progress, so it's fixed.