question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got [coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed

See original GitHub issue

I found the following error after installing coc-java.

[coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed
Error: Pending response rejected since connection got disposed
    at Object.dispose (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:54:4562)
    at Object.dispose (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:219:85794)
    at jf.handleConnectionClosed (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:224:10872)
    at jf.handleConnectionClosed (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:228:3578)
    at t (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:224:10524)
    at mq.invoke (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:27:14460)
    at fg.fire (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:27:15230)
    at Re (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:28:6501)
    at mq.invoke (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:27:14460)
    at fg.fire (/home/tanathep/.local/share/nvim/plugged/coc.nvim/build/index.js:27:15230)

and I have no clue how to solve this problem. Someone pls help.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
WJ-Prajumsookcommented, Oct 10, 2022

I got same error on MacOS, java 17. In my case, in the log I found an error about missing coc-java-lombok and efter install coc-java-lombok it works fine now.

1reaction
kkopczynski-roqcommented, Oct 14, 2022

I’ve got this same problem on Arch Linux using SDKMAN’s java 8 and 11 “-zulu” as with distro java.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connection is disposed - when updating plugins · Issue ...
Whenever I update my plugins (using PlugUpdate from vim-plug), I get a "ConnectionError: Connection is disposed" error from coc.nvim (see ...
Read more >
ubuntu - neovim: [coc.nvim]: UnhandledRejection: Pending ...
[coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed Error: Pending response rejected since connection ...
Read more >
[coc.nvim] Restarting server failed : r/vim
I keep getting this error and idk why, here's the CocInfo: ... Dy [Error]: Pending response rejected since connection got disposed 24 |...
Read more >
Problem with coc vim and julia server (MacOS) - Tooling
... [language-client-client] - Server julia initialization failed. Eg [Error]: Pending response rejected since connection got disposed at ...
Read more >
neoclide/coc.nvim - Gitter
The issue seems to be coming from the coc client which seems to be sending duplicate notifications like textDocument/didChange . For example, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found