Error in SonarQube for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 21.0.6
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2024.3.5
  • SonarQube for IDE: 10.19.0.80823
java.lang.IllegalStateException: Missing header Content-Length in input "
"
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:114)
	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!

Unfortunately, I don’t see any references to SonarQube for IntelliJ in this stacktrace, so it looks like IntelliJ misattributed the error.

Does this sound reasonable, or do you think this actually is related to SonarQube for IntelliJ?

 
Thx,
Ann

Hi,

As a followup, could you provide your logs?

 
Thx,
Ann

For now, it did not yet happen again. And I must admit I just clicked on the submit button in IntelliJ without further thinking and assumed that it goes to the right place with all required logs attached.

In case I notice this again, which logs should I look for?

Hi,

The docs link in my previous response tells you how to find them.

 
:slight_smile:
Ann