Skip to content

error when restarting a download #8024

@brishtibheja

Description

@brishtibheja

Steps to reproduce

Not sure how to exactly repro this but I was trying restart a field download. It worked after some time but gave me errors initially.

Expected behavior

download should work fine.

Actual behavior

error message:

java.lang.NullPointerException
	at com.github.libretube.services.OfflinePlayerService.startPlayback$suspendImpl(Unknown Source:100)
	at com.github.libretube.services.OfflinePlayerService$startPlayback$1.invokeSuspend(Unknown Source:11)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.UndispatchedCoroutine.afterResume(Unknown Source:53)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(Unknown Source:22)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:31)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:106)
	at androidx.work.impl.utils.SerialExecutorImpl$Task.run(Unknown Source:13)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:92)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@d77e17d, Dispatchers.IO]
    

LibreTube version

0.29.1 (64)

Android version

Android 11

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions