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 摘要。