sourcegraph / jetbrains

Apache License 2.0
81 stars 25 forks source link

bug: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp... #2506

Closed cbgrasshopper closed 3 weeks ago

cbgrasshopper commented 1 month ago

IDE Information

JetBrains Rider 2024.2.6 Build #RD-242.23339.62, built on October 8, 2024 Licensed to Christopher Bradford You have a perpetual fallback license for this version. Subscription is active until October 17, 2025. Runtime version: 21.0.4+13-b509.17 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 15.0.1 .NET Core v8.0.4 ARM64 (Server GC) GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 4096M Cores: 12 Metal Rendering is ON Registry: ide.balloon.shadow.size=0 ide.intellij.laf.enable.animation=true ide.experimental.ui=true i18n.locale= Non-Bundled Plugins: com.intellij.datagen (242.20224.159) uk.co.hadoopathome.intellij.avro.intellijavroviewer (3.1.0) com.github.leomillon.uuidgenerator (4.5.1) fluentvalidation-rider (2024.2.0) lermitage.intellij.extratci (2024.5.3) com.intellij.resharper.HeapAllocationsViewer (2024.2.0) com.berzanmikaili.intellij.monokai_pro (2.0.2c) fluentassertions-rider (2024.2.0) org.intellij.plugins.hcl (242.23339.11) com.thvardhan.gradianto (5.5) PythonCore (242.23339.11) org.toml.lang (242.20224.155) com.vecheslav.darculaSolidTheme (1.0.3) com.elliotwaite.godot_theme (1.1.0) com.mallowigi.idea (23.0.0) aws.toolkit.core (3.34-242) wallaby.js (1.0.305) com.jetbrains.space (242.23339.11) com.hiberbee.intellij.hiberbee-theme (2024.2.28.2100) color.scheme.Monokai Materialized (1.1) monokai-pro (1.10) quokka.js (1.0.456) com.jetbrains.rider.android (242.23339.62) org.jetbrains.plugins.go-template (242.20224.155) one.util.ideaplugin.screenshoter (1.8.1) nsubstitutecomplete-rider (2024.2.0) com.vecheslav.darculaDarkerTheme (1.2.0) com.intellij.ideolog (242.23339.18) com.markskelton.one-dark-theme (5.12.0) cognitivecomplexity-rider (2024.2.0) fr.socolin.application-insights-debug-log-viewer (2024.2.0) String Manipulation (9.14.1) com.github.ushiosan23.darktheme (1.0.2) Key Promoter X (2024.2.0) com.yemreak.DarkCode-Theme (1.1) pl.tigersoft.intellij.faker (1.3.0) net.seesharpsoft.intellij.plugins.file-preview (1.6.4) Abc.MoqComplete.Rider (2024.1.1.1) AceJump (3.8.20) indent-rainbow.indent-rainbow (2.2.0) com.intellij.resharper.StructuredLogging (2024.2.0.339) com.samdark.intellij-visual-studio-code-dark-plus (2.9.0) net.reqnroll (2024.2.1) com.intellij.aqua (242.22855.133) gherkin (242.20224.159) com.intellij.ml.llm (242.23339.40) net.seesharpsoft.intellij.plugins.csv (4.0.0) com.intellij.bigdatatools.core (242.23339.11) com.intellij.bigdatatools.binary.files (242.20224.159) com.intellij.bigdatatools.rfs (242.23339.11) com.github.ArtsiomCh.NestedBracketsColorer (0.7.2) com.intellij.tide (242.23339.19) com.github.dinbtechit.vscodetheme (1.10.11) com.github.copilot (1.5.26.7227) org.sonarlint.idea (10.11.1.79663) codiumai.codiumai (0.11.4) com.sourcegraph.jetbrains (7.0.13) com.microsoft.vso.idea (1.162.2) com.mallowigi (97.0.0) mobi.hsz.idea.gitignore (4.5.4) color.scheme.GapStyle (4.1) com.intellij.resharper.azure (4.2.2) aws.toolkit (3.34-242) izhangzhihao.rainbow.brackets.lite (1.2.0)

Bug Description

IDE reports an error

Additional context

Stacktrace:


java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: codeActions/provide: document not found for file:///Users/christopherbradford/Storied/WA.Storied/WA.Storied.Host/WA.Storied.CohostAPISilo/appsettings.Production.json

Error: codeActions/provide: document not found for file:///Users/christopherbradford/Storied/WA.Storied/WA.Storied.Host/WA.Storied.CohostAPISilo/appsettings.Production.json
    at /Users/christopherbradford/Library/Application Support/JetBrains/Rider2024.2/plugins/Sourcegraph/agent/index.js:133463:19
    at /Users/christopherbradford/Library/Application Support/JetBrains/Rider2024.2/plugins/Sourcegraph/agent/index.js:134386:18
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processImmediate (node:internal/timers:449:9)
    at process.topLevelDomainCallback (node:domain:160:15)
    at process.callbackTrampoline (node:internal/async_hooks:128:24)
    at async /Users/christopherbradford/Library/Application Support/JetBrains/Rider2024.2/plugins/Sourcegraph/agent/index.js:132923:44
    at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:136)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:399)
    at com.sourcegraph.cody.inspections.CodyFixHighlightPass.doCollectInformation(CodyFixHighlightPass.kt:104)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:431)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:426)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:417)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:416)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:392)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:392)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:390)
    at com.intellij.concurrency.JobL...
linear[bot] commented 1 month ago

BUGS-583 bug: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp...

mkondratek commented 3 weeks ago

Hi there 👋 sorry for the inconvenience 🙇 we know about that problem and we fixed it already!

The original issue: https://github.com/sourcegraph/jetbrains/issues/2512 The fix: https://github.com/sourcegraph/jetbrains/pull/2539

The fix will be included in the next release. The next release should be available next week. I kindly ask you for some more patience 🙏