Loading Taint Vulnerabilities blocks Intellij for like 20 seconds

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?

Best regards
Daniel

Hello,

Welcome to the community and thanks for raising this issue.

I created a ticket to fix it, you can track its progress if you want.

I don’t see any workaround in the meantime.

Thanks again
Damien

Hi Damien,

thank you for replying so fast. You’re doing a great job with the SonarLint Plugin!

Cheers,

Daniel

3 Likes

FYI this is the ticket to follow specifically for IntelliJ: https://jira.sonarsource.com/browse/SLI-514

Hello,

Same problem here in IDEA CE 2021.1.1

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.

Thanks

1 Like

Hi @santiquetzal

What is the version of SonarLint you are using? The version 4.15 should contain a fix for this problem.

Intellij 2021.1.1, Plugin 4.16.0.31683. The issue is still here.

Version: 4.16.0.31683

Had reported similar - UI unresponsive during taint analysis. However, it still seems to happen.

Any update on this?, on my side I have to wait 1-2minutes :sweat_smile:

This issue is really annoying. In the idea.log this warning is logged. I’ve attached the thread dump.

2021-06-15 12:24:15,074 [12866183]   WARN - .diagnostic.PerformanceWatcher - UI was frozen for 128099ms, details saved to /home/maarten/.cache/JetBrains/IntelliJIdea2021.1/log/threadDumps-freeze-20210615-122211-IU-211.7442.40-128sec

threadDump-20210615-122412.txt (91.9 KB)

IntelliJ IDEA 2021.1.2 (Ultimate Edition)
Build #IU-211.7442.40, built on June 1, 2021
SonarLint 4.16.0.31683

Hello everybody,

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

2 Likes

Hello here,

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 ?

Thanks!

1 Like

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.

2 Likes