Fernthedev / Fernthedev/BSMT-Rider

java.util.NoSuchElementException: List is empty.

未关闭
#11 12 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
25
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

Looks like the same exact exception as #8

Using the latest release of BSMT-Rider, occurs in Rider 2024.3.3 and 2024.3.6.

```
Unhandled exception in [ComponentManager(ProjectImpl@880266938), com.intellij.codeWithMe.ClientIdContextElementPrecursor@6eaf7bc0, CoroutineName(com.github.fernthedev.bsmt_rider.helpers.BeatSaberReferenceManager), Dispatchers.Default]

java.util.NoSuchElementException: List is empty.
at kotlin.collections.CollectionsKt___CollectionsKt.first(_Collections.kt:221)
at com.github.fernthedev.bsmt_rider.helpers.BeatSaberReferenceManager.askToAddReferences(BeatSaberReferenceManager.kt:112)
at com.github.fernthedev.bsmt_rider.actions.BeatSaberReferenceGeneratorAction$actionPerformed$1$1.invokeSuspend(BeatSaberReferenceGeneratorAction.kt:27)
at com.github.fernthedev.bsmt_rider.actions.BeatSaberReferenceGeneratorAction$actionPerformed$1$1.invoke(BeatSaberReferenceGeneratorAction.kt)
at com.github.fernthedev.bsmt_rider.actions.BeatSaberReferenceGeneratorAction$actionPerformed$1$1.invoke(BeatSaberReferenceGeneratorAction.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.util.progress.ProgressPipeImpl.collectProgressUpdates(ProgressPipe.kt:43)
at com.intellij.openapi.progress.impl.PlatformTaskSupport$withBackgroundProgressInternalOld$2.invokeSuspend(PlatformTaskSupport.kt:157)
at com.intellij.openapi.progress.impl.PlatformTaskSupport$withBackgroundProgressInternalOld$2.invoke(PlatformTaskSupport.kt)
at com.intellij.openapi.progress.impl.PlatformTaskSupport$withBackgroundProgressInternalOld$2.invoke(PlatformTaskSupport.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
at com.intellij.openapi.progress.impl.PlatformTaskSupport.withBackgroundProgressInternalOld(PlatformTaskSupport.kt:150)
at com.intellij.openapi.progress.impl.PlatformTaskSupport.access$withBackgroundProgressInternalOld(PlatformTaskSupport.kt:57)
at com.intellij.openapi.progress.impl.PlatformTaskSupport$withBackgroundProgressInternal$2.invokeSuspend(PlatformTaskSupport.kt:91)
at com.intellij.openapi.progress.impl.PlatformTaskSupport$withBackgroundProgressInternal$2.invoke(PlatformTaskSupport.kt)
at com.intellij.openapi.progress.impl.PlatformTaskSupport$withBackgroundProgressInternal$2.invoke(PlatformTaskSupport.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
at com.intellij.openapi.progress.impl.PlatformTaskSupport.withBackgroundProgressInternal(PlatformTaskSupport.kt:89)
at com.intellij.platform.ide.progress.TasksKt.withBackgroundProgress(tasks.kt:56)
at com.intellij.platform.ide.progress.TasksKt.withBackgroundProgress(tasks.kt:31)
at com.github.fernthedev.bsmt_rider.actions.BeatSaberReferenceGeneratorAction$actionPerformed$1.invokeSuspend(BeatSaberReferenceGeneratorAction.kt:26)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [ComponentManager(ProjectImpl@880266938), com.intellij.codeWithMe.ClientIdContextElementPrecursor@6eaf7bc0, CoroutineName(com.github.fernthedev.bsmt_rider.helpers.BeatSaberReferenceManager), StandaloneCoroutine{Cancelled}@35397fca, Dispatchers.Default]
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。