sourcegraph / jetbrains

Apache License 2.0
76 stars 24 forks source link

bug: java.util.concurrent.ExecutionException: com.sourcegraph.cody.agent.CodyAgentException: Creating agent unsuccessful: org.ecli... #2598

Open ericbsd opened 2 weeks ago

ericbsd commented 2 weeks ago

IDE Information

PyCharm 2024.2.3 (Community Edition) Build #PC-242.23339.19, built on September 25, 2024 Runtime version: 17.0.12+7-1 amd64 VM: OpenJDK 64-Bit Server VM by OpenJDK BSD Porting Team Toolkit: sun.awt.X11.XToolkit FreeBSD 14.1-stable GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 16 Registry: ide.experimental.ui=true i18n.locale= Non-Bundled Plugins: String Manipulation (9.14.1) com.sourcegraph.jetbrains (7.1.0-nightly) Current Desktop: MATE

Bug Description

More issues on the nightly.

Additional context

Stacktrace:

java.util.concurrent.ExecutionException: com.sourcegraph.cody.agent.CodyAgentException: Creating agent unsuccessful: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
    at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$7(CodyAgentService.kt:89)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:134)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
    at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: com.sourcegraph.cody.agent.CodyAgentException: Creating agent unsuccessful: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed
linear[bot] commented 2 weeks ago

BUGS-688 bug: java.util.concurrent.ExecutionException: com.sourcegraph.cody.agent.CodyAgentException: Creating agent unsuccessful: org.ecli...