Uploaded image for project: 'Mobile Applications'
  1. Mobile Applications
  2. MOBILE-109

Crash caused by BP when app launches for the first time.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Android
    • None

      Here are the logs:

      FATAL EXCEPTION: main
                                               Process: org.listenbrainz.android.debug, PID: 7734
                                               java.lang.IllegalStateException: sendResult() called when either sendResult() or sendError() had already been called for: root_id
                                                   at androidx.media.MediaBrowserServiceCompat$Result.sendResult(MediaBrowserServiceCompat.java:856)
                                                   at org.listenbrainz.android.presentation.features.brainzplayer.services.BrainzPlayerService$onLoadChildren$resultSent$1.invoke(BrainzPlayerService.kt:129)
                                                   at org.listenbrainz.android.presentation.features.brainzplayer.services.BrainzPlayerService$onLoadChildren$resultSent$1.invoke(BrainzPlayerService.kt:127)
                                                   at org.listenbrainz.android.presentation.features.brainzplayer.musicsource.LocalMusicSource.setState(LocalMusicSource.kt:75)
                                                   at org.listenbrainz.android.presentation.features.brainzplayer.musicsource.LocalMusicSource.access$setState(LocalMusicSource.kt:16)
                                                   at org.listenbrainz.android.presentation.features.brainzplayer.musicsource.LocalMusicSource$fetchMediaData$2.invokeSuspend(LocalMusicSource.kt:64)
                                                   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                                                   at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
                                                   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
                                                   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
                                                   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                                                   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                                                   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
                                                   Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine\{Cancelling}@5a57c00, Dispatchers.Main]

            daKu Jasjeet
            daKu Jasjeet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package