You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IllegalStateException: Missing header Content-Length in input #1192
java.lang.IllegalStateException: Missing header Content-Length in input "
""d:1,rsl"{cpblte"{txDcmnSn"2"oePoie"fle"eiiinrvdr:as,dcmnSmoPoie"fle"okpcSmoPoie"tu,dcmnFratnPoie"fle"ouetagFratnPoie"fle"naHnPoie"fale}Content-Length: 287
:2.""d:1,rsult":{"capabilities":{"textDocumentSync":2,"hoverPoie"fle"einProvider":false,"documentSymbolProvider":false,"workspaceSymbolProvdr:re,"ouetomtigrvdr:ase,"documentRangeFormattingProvider":false,"inlayHintProvider":false}}}C{"jsonrpc":"2.0","id":"2","method"ons":[{"id":"a6b67bc8-97b4-4010-a370-98ca3df9a412","method":"textDocument/codeLens"}]}}Content-Length: 361
"
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:91)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583
I have noticed this similar problem when I have not used IntelliJ for some hours. In this case Qute, MicroProfile language servers are stopped and when they restart them, you can have this problem.
Do you think it could be this usecase?
To fix this issue, you need to stop language servers and if you are not lucky, you need to restart your IJ.
We notice similar behavior in a freshly-restarted IntelliJ instance, upon server start (initialize request failing) only if the workspace lives in WSL (with IntelliJ running outside WSL).
Some exemplars for the error message File URL path must be absolute:
@angelozerr A colleague of mine has reproduced this a couple of times on his Windows machine and it does not seem to be related to the IDE 'idling'. Nor is it fixed by restarting the IDE (and thus the server).
So the language server did start up and received a syntactically valid initialize – does that answer your question? 🤔
Activity
angelozerr commentedon Jul 28, 2025
I have noticed this similar problem when I have not used IntelliJ for some hours. In this case Qute, MicroProfile language servers are stopped and when they restart them, you can have this problem.
Do you think it could be this usecase?
To fix this issue, you need to stop language servers and if you are not lucky, you need to restart your IJ.
tim-sh commentedon Jul 28, 2025
We notice similar behavior in a freshly-restarted IntelliJ instance, upon server start (
initializerequest failing) only if the workspace lives in WSL (with IntelliJ running outside WSL).Some exemplars for the error message
File URL path must be absolute:Chars seem to be randomly missing.
angelozerr commentedon Jul 28, 2025
Thanks @tim-sh for your feedback. You have this problem every time? Hav you this problem in the same context that I have explained below?
Can you start the language server?
tim-sh commentedon Jul 28, 2025
@angelozerr A colleague of mine has reproduced this a couple of times on his Windows machine and it does not seem to be related to the IDE 'idling'. Nor is it fixed by restarting the IDE (and thus the server).
So the language server did start up and received a syntactically valid
initialize– does that answer your question? 🤔angelozerr commentedon Jul 28, 2025
Ok and which language server are you using?
angelozerr commentedon Jul 28, 2025
Which version of LSP4IJ are you using?
tim-sh commentedon Jul 28, 2025
It's the CDS language server and our plugin uses LSP4IJ 0.14.2
angelozerr commentedon Sep 30, 2025
@ia3andy @tim-sh please install https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#testing-nightly-builds and tell me if it fixes your issue. Thanks!
angelozerr commentedon Oct 1, 2025
It should be fixed with #1303