Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE QueueCommand #187

Closed
ToxicMushroom opened this issue Oct 4, 2020 · 0 comments
Closed

NPE QueueCommand #187

ToxicMushroom opened this issue Oct 4, 2020 · 0 comments
Labels

Comments

@ToxicMushroom
Copy link
Owner

Steps to reproduce are unknown

line 46 contains totalDuration += track.duration, track is most likely null

Stacktrace:
java.lang.NullPointerException
at me.melijn.melijnbot.commands.music.QueueCommand.execute(QueueCommand.kt:46)
at me.melijn.melijnbot.commands.music.QueueCommand$execute$1.invokeSuspend(QueueCommand.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant