Hello,
we’re using the SonarLint Plugin for Intellij for a year now and we really like it. Our sonar cube ( Community Edition Version 7.9.5 (build 38598)) is located behind a VPN. If I’m connected to this VPN, then often, but not always, the status says “Loading Taint vulnerabilities …” and blocks the IDE completely for around 5 to 20 Seconds. I didn’t see any exceptions in the event log. Is there an option to turn off the Taint Vulnerability loading?
If I work in the project when I have no connection to the server (for example, I am not in the VPN) when I open different files IDEA indicates that it is “Loading taint vulnerabilities” (each time it takes about 15s that will be the timeout time of the server).
During those 15s IDEA is blocked, I can’t select another file or work on the current file.
First of all thanks for reporting here (the thread dump was really useful) and for your patience.
Here is the situation: if your project is bound to SonarQube/SonarCloud and for any reason the server is not reachable (e.g. network outage, server not responding, on a different VPN), the IDE will eventually freeze.
This problem is caused by a combination of different flaws in our plugin. We have identified some of them (here, here and there). We already have a fix for the 2 first ones, that would help mitigate the issue (at least the UI shouldn’t freeze anymore), and we are thinking about the right solution for the third one which is a bit more involved.
There is unfortunately no workaround that you could use, apart from making sure that the server your project is bound to is reachable while developing. I know, this is not ideal.
We are sorry for the inconvenience and we will keep you informed as soon as we make progress.
Thanks again
We released a new version of the IntelliJ plugin, that contains the 2 fixes mentioned above. It should resolve problems with UI freezes. Could you please give a try and give us feedback about it ?
Hi Damien
Was having the same trouble when not connected to the VPN, have just updated the plugin to the 5.0.1 version, and it seems fixed, the “Loading Taint Vulnerabilities” appeared as a background task not blocking the UI.
Thank you.
As mentioned in the thread we had identified some issues, and all of them have been fixed (the last one in the last few weeks).
If you are using the latest 6.4.3 version and still face some freezing issues, a thread dump would be much appreciated to help us understand where we still need to fix things.
Again we’re sorry for the inconvenience those freezes cause.