neoclide / neoclide/coc-java

[coc.nvim] Language Support for Java client: couldn't create connection to server.

Open
#299 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
473
Forks
42
PR merge metrics
No merged PRs in 30d

Description

I'm using nvim 0.11.3 on macOS 15.5. coc-java is the latest version:
coc-java Current version 1.26.1 is up to date

After nvim is launched, greeted by this message:

[coc.nvim] Language Support for Java client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
  

The result is annoying: can't save file after updating (:wq). nvim hang. How to debug this?
I'm using openjdk 17.0.14 2025-01-21 LTS

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with nvim 0.11.3, coc-java 1.26.1, and OpenJDK 17.0.14, then inspect the reported connection-disposal message and any available startup output. Done means the Java language-server connection succeeds and saving with :wq no longer hangs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, neovim, typescript
Domain
devtools, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.