Error in SonarQube for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 21.0.5
  • OS: Mac OS X aarch64
  • IDE: IntelliJ IDEA 2024.3.1
  • SonarQube for IDE: 10.13.1.80133
java.lang.IllegalStateException: Missing header Content-Length in input "ms":null}{"jsonrpc":"2.0","id":"13","result":{"supported":false,"reason":"The project is not bound, please bind it to SonarQube (Server, Cloud)"}}Content-Length: 91

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

Environment:

  • Java: JetBrains s.r.o. 21.0.5
  • OS: Mac OS X aarch64
  • IDE: IntelliJ IDEA 2024.3.1
  • SonarQube for IDE: 10.14.0.80203
java.lang.IllegalStateException: Missing header Content-Length in input "{"jsonrpc":"2.0","id":"17","result":{"description":"From last 30 days","isSupported":true}}Content-Length: 242

"
	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 @mrdelarosatorres ,

Are these the full logs? If not can you share the full logs by enabling verbose output and analysis logs? Also could you describe what you were doing when you encountered this error?

Thank you

Hi Eray, yes, that’s the complete log, and the issue occurs when opening IntelliJ.

Hi @mrdelarosatorres, by any chance, are you using Nx Console?