sourcegraph / jetbrains

Apache License 2.0
67 stars 22 forks source link

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

Open Nopik opened 1 hour ago

Nopik commented 1 hour ago

IDE Information

IntelliJ IDEA 2024.2.3 (Ultimate Edition) Build #IU-242.23339.11, built on September 25, 2024 Licensed to Kamil Burzynski You have a perpetual fallback license for this version. Subscription is active until October 6, 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 14.6.1 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 16384M Cores: 10 Metal Rendering is ON Registry: actionSystem.playback.typecommand.delay=50 debugger.new.tool.window.layout=true vcs.log.index.enable=true ide.experimental.ui=true i18n.locale= terminal.new.ui=true typescript.service.node.arguments=--max-old-space-size=8192 editor.minimap.enabled=true Non-Bundled Plugins: com.mroche.JsonHelper (1.3.2) String Manipulation (9.14.1) com.wakatime.intellij.plugin (15.0.3) ru.adelf.idea.dotenv (2024.2.1) PlantUML integration (7.11.2-IJ2023.2) com.sourcegraph.jetbrains (7.0.13) Dart (242.22855.32) commit-prefix-plugin (1.4.1) com.nekofar.milad.intellij.remix (1.2.0) com.cral.JSONKeyFinder (2.0.8) com.eny.i18n (2.6.2) Kotlin: 242.23339.11-IJ

Bug Description

crash

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/nopik/Warsztat/sunvoy/app/packages/worker/debug.ts

Error: codeActions/provide: document not found for file:///Users/nopik/Warsztat/sunvoy/app/packages/worker/debug.ts
    at /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.2/plugins/Sourcegraph/agent/index.js:133463:19
    at /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.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 async /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.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.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:259)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: codeActions/provide: document not found for file:///Users/nopik/Warsztat/sunvoy/app/packages/worker/debug.ts

Error: codeActions/provide: document not found for file:///Users/nopik/Warsztat/sunvoy/app/packages/worker/debug.ts
    at /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.2/plugins/Sourcegraph/agent/index.js:133463:19
    at /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.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 async /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.2/plugins/Sourcegraph/agent/index.js:132923:44
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:370)
    ... 27 more
Caused by: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: codeActions/provide: document not found for file:///Users/nopik/Warsztat/sunvoy/app/packages/worker/debug.ts

Error: codeActions/provide: document not found for file:///Users/nopik/Warsztat/sunvoy/app/packages/worker/debug.ts
    at /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.2/plugins/Sourcegraph/agent/index.js:133463:19
    at /Users/nopik/Library/Application Support/JetBrains/IntelliJIdea2024.2...
linear[bot] commented 1 hour ago

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