BjoernPetersen / MusicBot-plugins

Collection of official MusicBot plugins
MIT License
0 stars 2 forks source link

YouTube Provider failure #24

Open BjoernPetersen opened 4 years ago

BjoernPetersen commented 4 years ago
 ERROR ktor.application - Unhandled: GET - /provider/net.bjoernpetersen.musicbot.spi.plugin.predefined.youtube.YouTubeProvider
kotlin.KotlinNullPointerException
        at net.bjoernpetersen.musicbot.youtube.provider.YouTubeProviderImpl$lookupBatch$6.invokeSuspend(YouTubeProviderImpl.kt:136)
        at net.bjoernpetersen.musicbot.youtube.provider.YouTubeProviderImpl$lookupBatch$6.invoke(YouTubeProviderImpl.kt)
        at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:91)
        at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:154)
        at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
        at net.bjoernpetersen.musicbot.youtube.provider.YouTubeProviderImpl.lookupBatch(YouTubeProviderImpl.kt:135)
        at net.bjoernpetersen.musicbot.youtube.provider.YouTubeProviderImpl.actualSearch(YouTubeProviderImpl.kt:195)
        at net.bjoernpetersen.musicbot.youtube.provider.YouTubeProviderImpl$initialize$3.invokeSuspend(YouTubeProviderImpl.kt:86)
        at net.bjoernpetersen.musicbot.youtube.provider.YouTubeProviderImpl$initialize$3.invoke(YouTubeProviderImpl.kt)
        at net.bjoernpetersen.musicbot.youtube.cache.AsyncLoader$load$1.invokeSuspend(AsyncLoader.kt:15)
        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)
BjoernPetersen commented 4 years ago

This is probably fixed by c0649447df3c320fc9b85bcffa25aee51d3e93ac