SonarLint File Analyze not working anymore for connected mode

Please provide

  • Operating system: Windows 10 Enterprise 22H2
  • SonarLint plugin version: 10.5.0.78339
  • Programming language you’re coding in: C#
  • Is connected mode used:
    • Connected to SonarQube (and which version): SonarQube Enterprise EditionVersion 9.9 (build 65466)

And a thorough description of the problem / question:

Since the last plugin update I have the problem that, whenever I click on “Anaylze Current File” or in the “Report” tab on the “Analyze All Project Files” button, nothing happens!
In the log tab I can see messages like “Analysis skipped as the engine is not ready yet”.
No issues are showed.

When I disconnect from SonarQube the analysis is working again, but sure it does not show the desired issues then from the SonarQube configuration.
Connecting again to SonarQube leads to the same issue again - no issues show, Analyze does nothing.

Here is the full log for one example project (we have this issue in all projects now):

Duplicate configuration scope registered: rider.module
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Could not load plugins storage
Downloaded plugin list in 244ms
[SYNC] Synchronizing analyzer configuration for project 'at.oebb.rps2:rps2.trackdata'
Downloaded settings in 448ms
[SYNC] Active rules for 'cs' are up-to-date
[SYNC] Active rules for 'css' are up-to-date
[SYNC] Active rules for 'js' are up-to-date
[SYNC] Active rules for 'secrets' are up-to-date
[SYNC] Active rules for 'ts' are up-to-date
[SYNC] Active rules for 'web' are up-to-date
Could not load plugins storage
Synchronizing project branches for project 'at.oebb.rps2:rps2.trackdata'
[SYNC] Synchronizing taint issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
[SYNC] Synchronizing issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
[SYNC] Synchronizing taint issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
Could not load plugins storage
Did synchronize config scopes [C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml]
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet
Could not load plugins storage
^---- Note: here I disconnect from SonarQube
Analysing 8 files...
Found 17 issues and 0 hotspots
Could not load plugins storage
^---- Note: here I reconnected to SonarQuebe and tried analyzing again
[SYNC] Synchronizing taint issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
Downloaded plugin list in 64ms
[SYNC] Synchronizing analyzer configuration for project 'at.oebb.rps2:rps2.trackdata'
Downloaded settings in 97ms
[SYNC] Active rules for 'cs' are up-to-date
[SYNC] Active rules for 'css' are up-to-date
[SYNC] Active rules for 'js' are up-to-date
[SYNC] Active rules for 'secrets' are up-to-date
[SYNC] Active rules for 'ts' are up-to-date
[SYNC] Active rules for 'web' are up-to-date
Could not load plugins storage
Synchronizing project branches for project 'at.oebb.rps2:rps2.trackdata'
[SYNC] Synchronizing issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
[SYNC] Synchronizing taint issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
Could not load plugins storage
Did synchronize config scopes [C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml]
Analysis skipped as the engine is not ready yet
Analysis skipped as the engine is not ready yet

edit:
adding another log dump with analysis logs and verbose output activated:

Creating container for module 'Module: 'rider.module''
Binding suggestion computation queued for config scopes 'rider.module'...
Synchronizing new configuration scopes: [rider.module]
Analysis became ready=true for [rider.module]
Configuration scope 'rider.module' has binding suggestions disabled.
0 entries removed from the store
0 entries removed from the store
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Trigger: EDITOR_OPEN
[EDITOR_OPEN] 1 file(s) submitted
Analysis skipped as the engine is not ready yet
Binding suggestion computation queued for config scopes 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml'...
Configuration scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml' is already bound.
Bound configuration scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml' added with an existing storage, queuing matching of the Sonar project branch...
Synchronizing new configuration scopes: [C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml]
Matching Sonar project branch
Could not load plugins storage
isReadyForAnalysis(connectionId: Sonar ÖBB, sonarProjectKey: at.oebb.rps2:rps2.trackdata, plugins: false, analyzer config: true, findings: true) => false
Stream has been cancelled
Connecting to server event-stream at 'api/push/sonarlint_events?projectKeys=at.oebb.rps2%3Arps2.ccs,at.oebb.rps2%3Arps2.trackdata&languages=cs,css,web,js,secrets,ts'...
Synchronizing storage of connection 'Sonar ÖBB'
Matched Sonar project branch for configuration scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml' changed from 'null' to 'master'
Computing paths translation for config scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml'...
[SYNC] Synchronizing taint issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
Starting matching paths for config scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml'...
Matched paths for config scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml':
  * idePrefix=
  * serverPrefix=
VCS repository changed for configuration scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml', queuing matching of the Sonar project branch...
Matching Sonar project branch
Connected to server event-stream
GET 200 http://sonar.oebb.at/api/system/status | response time=458ms
Downloaded server infos in 459ms
Storing server info in C:\Users\z183693\AppData\Local\JetBrains\Rider2024.1\sonarlint\storage\536f6e617220c3964242\server_info.pb
Stored server info
GET 200 http://sonar.oebb.at/api/plugins/installed | response time=99ms
Downloaded plugin list in 101ms
[SYNC] Code analyzer 'abap' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'sonarapex' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'csharp' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'cpp' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'cobol' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'config' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'dbd' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'dbdjavafrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'dbdpythonfrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'dependencycheck' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'flex' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'go' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'groovy' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'web' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'iac' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'jacoco' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'java' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'javascript' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'kotlin' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'php' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'pli' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'plsql' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'python' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'rpg' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'ruby' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'sonarscala' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'swift' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'tsql' is disabled in SonarLint (language not enabled). Skip downloading it.
[SYNC] Code analyzer 'text' is embedded in SonarLint. Skip downloading it.
[SYNC] Code analyzer 'vbnet' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'vb' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'security' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'securitycsharpfrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'securityjsfrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'securityjavafrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'securityphpfrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'securitypythonfrontend' does not support SonarLint. Skip downloading it.
[SYNC] Code analyzer 'xml' is embedded in SonarLint. Skip downloading it.
Synchronizing storage of Sonar project 'at.oebb.rps2:rps2.trackdata' for connection 'Sonar ÖBB'
[SYNC] Synchronizing analyzer configuration for project 'at.oebb.rps2:rps2.trackdata'
GET 200 http://sonar.oebb.at/api/issues/pull_taint?projectKey=at.oebb.rps2%3Arps2.trackdata&branchName=master&languages=cs,css,web,js,secrets,ts&changedSince=1714985718061 | response time=517ms
Pulled taint issues in 517ms
Merged 0 taint issues in store. Closed 0. | took 4ms
GET 200 http://sonar.oebb.at/api/settings/values.protobuf?component=at.oebb.rps2%3Arps2.trackdata | response time=194ms
Downloaded settings in 201ms
GET 200 http://sonar.oebb.at/api/qualityprofiles/search.protobuf?project=at.oebb.rps2%3Arps2.trackdata | response time=269ms
Downloaded project quality profiles in 269ms
[SYNC] Active rules for 'cs' are up-to-date
[SYNC] Active rules for 'css' are up-to-date
[SYNC] Active rules for 'js' are up-to-date
[SYNC] Active rules for 'secrets' are up-to-date
[SYNC] Active rules for 'ts' are up-to-date
[SYNC] Active rules for 'web' are up-to-date
Storing project analyzer configuration in C:\Users\z183693\AppData\Local\JetBrains\Rider2024.1\sonarlint\storage\536f6e617220c3964242\projects\61742e6f6562622e727073323a727073322e747261636b64617461\analyzer_config.pb
Stored project analyzer configuration
GET 200 http://sonar.oebb.at/api/measures/component.protobuf?additionalFields=period&metricKeys=projects&component=at.oebb.rps2%3Arps2.trackdata | response time=165ms
Storing new code definition in C:\Users\z183693\AppData\Local\JetBrains\Rider2024.1\sonarlint\storage\536f6e617220c3964242\projects\61742e6f6562622e727073323a727073322e747261636b64617461\new_code_definition.pb
Could not load plugins storage
isReadyForAnalysis(connectionId: Sonar ÖBB, sonarProjectKey: at.oebb.rps2:rps2.trackdata, plugins: false, analyzer config: true, findings: true) => false
Synchronizing project branches for project 'at.oebb.rps2:rps2.trackdata'
GET 200 http://sonar.oebb.at/api/project_branches/list.protobuf?project=at.oebb.rps2%3Arps2.trackdata | response time=98ms
Storing project branches in C:\Users\z183693\AppData\Local\JetBrains\Rider2024.1\sonarlint\storage\536f6e617220c3964242\projects\61742e6f6562622e727073323a727073322e747261636b64617461\project_branches.pb
Project branches changed for project 'at.oebb.rps2:rps2.trackdata'
Sonar project branch changed for configuration scope 'C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml', queuing matching of the Sonar project branch...
Sonar project branch changed for configuration scope 'rider.module', queuing matching of the Sonar project branch...
Matching Sonar project branch
[SYNC] Synchronizing issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
GET 200 http://sonar.oebb.at/api/issues/pull?projectKey=at.oebb.rps2%3Arps2.trackdata&branchName=master&languages=cs,css,web,js,secrets,ts&changedSince=1714985717993 | response time=99ms
Pulled issues in 99ms
Merged 0 issues in store. Closed 0. | took 2ms
[SYNC] Synchronizing taint issues for project 'at.oebb.rps2:rps2.trackdata' on branch 'master'
GET 200 http://<url removed for data protection>/api/issues/pull_taint?projectKey=at.oebb.rps2%3Arps2.trackdata&branchName=master&languages=cs,css,web,js,secrets,ts&changedSince=1714990893229 | response time=71ms
Pulled taint issues in 71ms
Merged 0 taint issues in store. Closed 0. | took 1ms
Incremental hotspot sync is not supported. Skipping.
Could not load plugins storage
isReadyForAnalysis(connectionId: Sonar ÖBB, sonarProjectKey: at.oebb.rps2:rps2.trackdata, plugins: false, analyzer config: true, findings: true) => false
Did synchronize config scopes [C:/Projekte/RPS2.0/rps2.trackdata/.idea/.idea.Rps2.Trackdata/.idea/misc.xml]
Skipping synchronization of branch 'master' because it was synchronized recently
Trigger: CURRENT_FILE_ACTION
[CURRENT_FILE_ACTION] 1 file(s) submitted
Analysis skipped as the engine is not ready yet

Hello @ArminOebb

Welcome to the Sonar Community! Sorry for the late response. We are currently looking into the issue.

1 Like

Hi @ArminOebb,

Thank you for sharing the issue with us. We have fixed it and will include it in the next release.

1 Like