SonarLint report in Eclipse is not showing the issues in my Java program, which are shown in SonarQube server. Please see the below details of versions.
OS: Microsoft Windows 11 Pro (Version 10.0.22000 Build 22000)
Eclpse IDE: Version: 2022-09 (4.25.0) - Build id: 20220908-1902
SonarLint version: SonarLint for Eclipse 7.5.0.54140
Are you using connected mode ? Yes
SonarQube server version: Enterprise EditionVersion 8.9.9 (build 56886)
If you are using connected mode, what are the installed analyzers? Please see attached file InstalledAnalyzers-SonarQube.json
The full stacktrace of the error. Please see attached file SonarLintLog.txt
InstalledAnalyzers-SonarQube.json (23.6 KB)
SonarLintLog.txt (57.3 KB)
Example:
Following issue is appearing as critical bug in SonarQube
However, when I am analyzing the corresponding file in Eclipse using SonarLint, this issue is not showing up in SonarLintReport, infact not a single issue is showing up in SonarLint.
Possible Hint:
In the SonarLint console, I see the following line, indicating that the rule in SonarQube is not present in SonarLint !
Rule findbugs:SBSC_USE_STRINGBUFFER_CONCATENATION is enabled on the server, but not available in SonarLint