Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 21.0.4
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2024.2.3
  • SonarLint: 10.12.0.79769
java.lang.IllegalStateException: Missing header Content-Length in input "{"jsonrpc":"2.0","method":"log","params":{"level":"ERROR","message":"Missing header Content-Length in input \"{\"jsonrpc\":\"2.0\",\"method\":\"branch/didVcsRepositoryChange\",\"params\":{\"configurationScopeId\":\"/home/alex/Work/cyoda/.idea/misc.xml\"}}Content-Length: 33005\r\n\r\n\"","configScopeId":null,"threadName":"Server message reader","loggerName":"org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer","stackTrace":"java.lang.IllegalStateException: Missing header Content-Length in input \"{\"jsonrpc\":\"2.0\",\"method\":\"branch/didVcsRepositoryChange\",\"params\":{\"configurationScopeId\":\"/home/alex/Work/cyoda/.idea/misc.xml\"}}Content-Length: 33005\r\n\r\n\"\n\tat org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:91)\n\tat org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n","loggedAt":1731663288954}}Content-Length: 70804

"
	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)

Hi,

Welcome to the community and thanks for this report!

Could you share what you were doing when you got this?

 
Thx,
Ann