Uncaught exception: Header must provide a Content-Length property.
See original GitHub issueWhen opening a Java file for editing I get the error:
[coc.nvim]: Uncaught exception: Header must provide a Content-Length property.
I only get this error when editing Java files, not with CPP files in conjunction with coc.clangd
. As a result I get an infinite attempt of trying to start jdt what never succeeds.
Installed extensions:
- coc-snippets 2.2.10
- coc-java 1.5.3
- coc-cmake 0.0.3
- coc-clangd 0.6.0
Using nvim v0.4.4 or VIM 8.2 1-1897 on ubuntu 18
I have seen others report the same issue with different extensions but other than updating the corresponding extension I haven’t found any suitable solution. I also don’t know what exactly is causing it. Any help appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
neoclide/coc.nvim - Gitter
"Uncaught exception: Error: Header must provide a Content-Length property." the exact exception for reference, and the output from the language server ...
Read more >lsp 2021-08-05 | Slack Archive
Uncaught exception : Header must provide a Content-Length property. Uncaught exception: Header must provide a Content-Length property. Uncaught exception: ...
Read more >Header must contain a Content-Length property - Bountysource
Uncaught exception : Header must contain a Content-Length property.
Read more >How To Fix the “411 Length Required” Error (4 Methods) - Kinsta
Fortunately, you can easily fix the “411 Length Required” error. This HTTP status code happens when the server requires a content-length header, ...
Read more >Amazon aws s3 content header - Stack Overflow
This error is due to you are not passing any image or object for put. pass a object too. I also faced similar...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to solve this same problem by uninstalling
coc-java
, deleting the folder~/.config/coc/extensions/coc-java-data/
, and reinstallingcoc-java
againSorry for bothering, after a complete wipe of all vim plugins and all coc extensions, including a removal of all files within
.config/coc
and a reinstall of everything, the error is gone.