SonarLint plugin version: All versions above 10.3.0.77475
Programming language you’re coding in: Java / Typescript
Is connected mode used:
Connected to SonarCloud or SonarQube (and which version):
SonarQube: 10.2.1 (build 78527)
IntelliJ 2023.3.6
And a thorough description of the problem / question:
After updating to a newer version above 10.3.0.77475 every sonar lint task is hanging in IntelliJ
and it will acummulate over time and not be finished. See pic:
Hi @dalemb, thank you for the update, and sorry to hear that SonarLint 10.4.2 did not solve your issue.
To help us investigate the issue more deeply, could you please provide more information about your project? How many modules are there? Is it a large project?
Also, could you please make and attach the following thread dumps while the analysis are stuck:
one for the backend of SonarLint service; That can be done by, e.g., running the jps command from the console to find the id of the JVM process for SonarLintServerCli and then making a dump with jstack <id>
In the meantime, we will keep on investigating this.
Hi nicolas.quinquenel,
apologies for the delayed reply as I was on leave.
It has about 20 modules and is a very large project.
I’ll try to upload the thread dumps, but I need to switch to a newer sonar version again.
I use a downgrade to version 10.3.0.77475 as a workaround.
I’ll inquire about the server logs as well, since I don’t have the rights for it.
Thank you for your reply. We identified a scenario that we missed that could make the synchronization slow. The improvements will be included in the next release, which will happen in the following weeks, and we look forward to your feedback.
First impression looks good, the hanging tasks are gone.
I’m currently still on IntelliJ IDEA 2023.3.6.
I’ll give an update once I’ve the newer version from IntelliJ running.
After a shutting down the laptop and starting it the next morning,
the Sonar PlugIn spawned around 400+ tasks.
It resolved itself after a while and so far that is the only noticable difference to version 10.3.0.77475.