IntelliJ IDEA: 2018.3.4 (Ultimate Edition)
SonarLint: 4.0.2.3009
SonarQube: 6.7.3 (build 38370)
Going to IDEA’s Settings -> Other Settings -> SonarLint General Settings -> Update binding proceeds to download the rules, but eventually ends up with “Failed to load rules” error.
I have turned on verbose logs in SonarLint’s console, but there doesn’t seem to be any error present:
Create : C:\Dev\Programs\IDEA\settings\config\sonarlint\plugins
Plugin cache: C:\Dev\Programs\IDEA\settings\config\sonarlint\plugins
Create : C:\Dev\Programs\IDEA\settings\config\sonarlint\plugins\_tmp
GET 200 http://sonar.******.com/api/system/status | time=258ms
GET 200 http://sonar.******.com/api/plugins/installed | time=241ms
GET 200 http://sonar.******.com/api/settings/values.protobuf | time=256ms
Code analyzer 'checkstyle' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'findbugs' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'scmgit' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'gitlab' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'csharp' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'typescript' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'xml' is not compatible with SonarLint. Skip downloading it.
Code analyzer 'jdepend' is not compatible with SonarLint. Skip downloading it.
GET 200 http://sonar.******.com/api/rules/search.protobuf?f=repo,name,severity,lang,htmlDesc,htmlNote,internalKey,isTemplate,templateKey,actives&statuses=BETA,DEPRECATED,READY&types=CODE_SMELL,BUG,VULNERABILITY&organization=default-organization&severities=INFO&p=1&ps=500 | time=521ms
GET 200 http://sonar.******.com/api/rules/search.protobuf?f=repo,name,severity,lang,htmlDesc,htmlNote,internalKey,isTemplate,templateKey,actives&statuses=BETA,DEPRECATED,READY&types=CODE_SMELL,BUG,VULNERABILITY&organization=default-organization&severities=MINOR&p=1&ps=500 | time=556ms
GET 200 http://sonar.******.com/api/rules/search.protobuf?f=repo,name,severity,lang,htmlDesc,htmlNote,internalKey,isTemplate,templateKey,actives&statuses=BETA,DEPRECATED,READY&types=CODE_SMELL,BUG,VULNERABILITY&organization=default-organization&severities=MINOR&p=2&ps=500 | time=373ms
GET 200 http://sonar.******.com/api/rules/search.protobuf?f=repo,name,severity,lang,htmlDesc,htmlNote,internalKey,isTemplate,templateKey,actives&statuses=BETA,DEPRECATED,READY&types=CODE_SMELL,BUG,VULNERABILITY&organization=default-organization&severities=MAJOR&p=1&ps=500 | time=552ms
Create : C:\Dev\Programs\IDEA\settings\config\sonarlint\plugins
Plugin cache: C:\Dev\Programs\IDEA\settings\config\sonarlint\plugins
Create : C:\Dev\Programs\IDEA\settings\config\sonarlint\plugins\_tmp
Load plugins
Load plugins (done) | time=2ms
Plugins:
* SonarPython 1.10.0.2131 (python)
* SonarJava 5.8.0.15699 (java)
* SonarJS 5.0.0.6962 (javascript)
Using storage for server '******' (last update 24.1.19 13:29)