Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

bug: java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: chatID is undefined #3249

@arunpusala7

Description

@arunpusala7

IDE Information

IntelliJ IDEA 2023.1.7 (Community Edition)
Build #IC-231.9423.9, built on June 6, 2024
Runtime version: 17.0.10+10-b829.27 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2006M
Cores: 16
Registry:
debugger.new.tool.window.layout=true
ide.experimental.ui=true

Non-Bundled Plugins:
com.sourcegraph.jetbrains (6.0.34)

Kotlin: 231-1.8.21-IJ9423.9

Bug Description

this is happening when i run the codey in the intellij

Additional context

Stacktrace:

java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: chatID is undefined

Error: chatID is undefined
    at Agent.createChatPanel (C:\Users\91630\AppData\Roaming\JetBrains\IdeaIC2023.1\plugins\Sourcegraph\agent\index.js:139386:17)
    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 C:\Users\91630\AppData\Roaming\JetBrains\IdeaIC2023.1\plugins\Sourcegraph\agent\index.js:137987:44
	at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
	at java.base/java.util.concurrent.CompletableFuture.getNow(CompletableFuture.java:2134)
	at com.sourcegraph.cody.chat.AgentChatSession.getConnectionId(AgentChatSession.kt:68)
	at com.sourcegraph.cody.chat.AgentChatSessionService.restoreAllSessions(AgentChatSessionService.kt:40)
	at com.sourcegraph.cody.agent.CodyAgentService$2.invoke(CodyAgentService.kt:135)
	at com.sourcegraph.cody.agent.CodyAgentService$2.invoke(CodyAgentService.kt:59)
	at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$6(CodyAgentService.kt:178)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:252)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	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: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: chatID is undefined

Error: chatID is undefined
    at Agent.createChatPanel (C:\Users\91630\AppData\Roaming\JetBrains\IdeaIC2023.1\plugins\Sourcegraph\agent\index.js:139386:17)
    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 C:\Users\91630\AppData\Roaming\JetBrains\IdeaIC2023.1\plugins\Sourcegraph\agent\index.js:137987:44
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:220)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:204)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:185)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:97)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:114)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	... 1 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions