IntelliJ IDEA 2024.2.4 (Ultimate Edition)
Build #IU-242.23726.103, built on October 22, 2024
Licensed to
Subscription is active until November *, 2024.
Runtime version: 21.0.4+13-b509.26 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 13.6.7
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 10
Metal Rendering is ON
Registry:
debugger.watches.in.variables=false
i18n.locale=
org.toml.json.schema=false
Non-Bundled Plugins:
com.jetbrains.plugins.ini4idea (242.23726.56)
com.intellij.classic.ui (242.20224.159)
org.intellij.plugins.hcl (242.23339.11)
PythonCore (242.23726.103)
com.jetbrains.rust (242.22855.133)
com.intellij.plugins.watcher (242.20224.155)
com.intellij.ideolog (242.23726.56)
org.jetbrains.plugins.vagrant (242.20224.159)
name.kropp.intellij.makefile (242.23726.16)
org.jetbrains.plugins.localization (242.20224.159)
org.jetbrains.plugins.go (242.23726.16)
com.jetbrains.space (242.23726.16)
org.jetbrains.plugins.ruby (242.23726.38)
com.alayouni.ansiHighlight (24.2.0)
Pythonid (242.23726.103)
GrepConsole (13.1.0-IJ2023.3)
PlantUML integration (7.11.2-IJ2023.2)
com.dmarcotte.handlebars (242.21829.3)
mdx.js (242.20224.159)
com.sourcegraph.jetbrains (7.0.13)
com.jetbrains.writerside (2024.09.242.21870.138)
mobi.hsz.idea.gitignore (4.5.4)
com.jetbrains.php (242.23726.103)
org.jetbrains.plugins.phpstorm-remote-interpreter (242.20224.159)
org.jetbrains.plugins.phpstorm-docker (242.20224.159)
com.jetbrains.php.framework (242.23726.56)
com.jetbrains.twig (242.23726.56)
com.kalessil.phpStorm.phpInspectionsEA (5.1.0)
com.jetbrains.php.wordPress (242.23726.103)
ru.adelf.idea.dotenv (2024.2.1)
Kotlin: 242.23726.103-IJ
Bug Description
I wish I knew how to reproduce this; it happens many times per day as I go about my work. I haven't observed any unexpected behaviour from the plugin that I can attribute to the error.
What's most strange about it is that the files referenced in the trace (before I redacted them) are all ones that have existed for quite some time, so there's no obvious reason why they'd trigger "document not found" errors.
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:///*/*/*/*/*/*/*/*/*.php
Error: codeActions/provide: document not found for file:///*/*/*/*/*/*/*/*/*.php
at /Users/*/Library/Application Support/JetBrains/IntelliJIdea2024.2/plugins/Sourcegraph/agent/index.js:133463:19
at /Users/*/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 process.topLevelDomainCallback (node:domain:160:15)
at process.callbackTrampoline (node:internal/async_hooks:128:24)
at async /Users/*/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:///*/*/*/*/*/*/*/*/*.php
Error: codeActions/provide: document not found for file:///*/*/*/*/*/*/*/*/*.php
at /Users/*/Library/Application Support/JetBrains/IntelliJIdea2024.2/plugins/Sourcegraph/agent/index.js:133463:19
at /Users/*/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 process.topLevelDomainCallback (node:domain:160:15)
...
IDE Information
IntelliJ IDEA 2024.2.4 (Ultimate Edition) Build #IU-242.23726.103, built on October 22, 2024 Licensed to Subscription is active until November *, 2024. Runtime version: 21.0.4+13-b509.26 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 13.6.7 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 8192M Cores: 10 Metal Rendering is ON Registry: debugger.watches.in.variables=false i18n.locale= org.toml.json.schema=false Non-Bundled Plugins: com.jetbrains.plugins.ini4idea (242.23726.56) com.intellij.classic.ui (242.20224.159) org.intellij.plugins.hcl (242.23339.11) PythonCore (242.23726.103) com.jetbrains.rust (242.22855.133) com.intellij.plugins.watcher (242.20224.155) com.intellij.ideolog (242.23726.56) org.jetbrains.plugins.vagrant (242.20224.159) name.kropp.intellij.makefile (242.23726.16) org.jetbrains.plugins.localization (242.20224.159) org.jetbrains.plugins.go (242.23726.16) com.jetbrains.space (242.23726.16) org.jetbrains.plugins.ruby (242.23726.38) com.alayouni.ansiHighlight (24.2.0) Pythonid (242.23726.103) GrepConsole (13.1.0-IJ2023.3) PlantUML integration (7.11.2-IJ2023.2) com.dmarcotte.handlebars (242.21829.3) mdx.js (242.20224.159) com.sourcegraph.jetbrains (7.0.13) com.jetbrains.writerside (2024.09.242.21870.138) mobi.hsz.idea.gitignore (4.5.4) com.jetbrains.php (242.23726.103) org.jetbrains.plugins.phpstorm-remote-interpreter (242.20224.159) org.jetbrains.plugins.phpstorm-docker (242.20224.159) com.jetbrains.php.framework (242.23726.56) com.jetbrains.twig (242.23726.56) com.kalessil.phpStorm.phpInspectionsEA (5.1.0) com.jetbrains.php.wordPress (242.23726.103) ru.adelf.idea.dotenv (2024.2.1) Kotlin: 242.23726.103-IJ
Bug Description
I wish I knew how to reproduce this; it happens many times per day as I go about my work. I haven't observed any unexpected behaviour from the plugin that I can attribute to the error.
What's most strange about it is that the files referenced in the trace (before I redacted them) are all ones that have existed for quite some time, so there's no obvious reason why they'd trigger "document not found" errors.
Additional context
Stacktrace: