Sonarlint for IntelliJ 10.4.1.77998, 'Starting SonarLint service...' task timed out,

Please provide

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2023.3.3
  • SonarLint: 10.4.1.77998
  • Is connected mode used:
    • Connected to SonarQube 9.9 LTS

The version 10.3.0.77475 is the last that works for us.
I’ve tested with the special 10.4.0 version from you in between, but didn’t work as a subprocess was blocked by a group policy - note we are working in a very restricted environment.

Now with the latest the Sonarlint console has.

Starting the SonarLint service process...
Listing SonarLint service files:
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\annotations-13.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\checker-qual-3.33.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\commons-codec-1.15.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\commons-compress-1.24.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\commons-csv-1.10.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\commons-io-2.11.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\commons-lang-2.6.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\commons-lang3-3.12.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\error_prone_annotations-2.18.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\failureaccess-1.0.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\gson-2.10.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\guava-32.1.1-jre.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\httpclient5-5.2.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\httpcore5-5.2.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\httpcore5-h2-5.2.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\j2objc-annotations-2.8.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\javax.annotation-api-1.3.2.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\javax.inject-1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\jul-to-slf4j-1.7.36.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\kotlin-logging-1.7.9.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\kotlin-stdlib-1.6.21.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\kotlin-stdlib-common-1.6.21.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\logback-classic-1.2.13.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\logback-core-1.2.13.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\org.eclipse.lsp4j.jsonrpc-0.21.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\picocli-4.7.3.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\protobuf-java-3.25.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\slf4j-api-1.7.36.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonar-channel-4.2.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonar-classloader-1.0.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonar-markdown-9.4.0.54424.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonar-plugin-api-10.1.0.809.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonar-scanner-protocol-7.9.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-analysis-engine-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-backend-cli-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-commons-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-core-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-http-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-plugin-api-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-plugin-commons-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-rpc-impl-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-rpc-protocol-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-rule-extractor-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-server-api-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-server-connection-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sonarlint-telemetry-10.0.2.77223.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\spring-aop-5.3.30.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\spring-beans-5.3.30.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\spring-context-5.3.30.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\spring-core-5.3.30.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\spring-expression-5.3.30.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\spring-jcl-5.3.30.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\sslcontext-kickstart-8.1.6.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\xodus-compress-2.0.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\xodus-entity-store-2.0.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\xodus-environment-2.0.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\xodus-openAPI-2.0.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\xodus-utils-2.0.1.jar
C:\ProgramData\IntelliJIdea\config\plugins\sonarlint-intellij\sloop\lib\xodus-vfs-2.0.1.jar
Using JRE from C:\Program Files\IntelliJIDEA\jbr
Migrating the storage...
Listening for SonarLint service exit...
Initializing the SonarLint service...
SonarLint backend started, instance=org.sonarsource.sonarlint.core.rpc.impl.SonarLintRpcServerImpl@2141a12
Found plugin: sonar-cfamily-plugin-6.53.0.67215.jar
Found plugin: sonar-go-plugin-1.15.0.4655.jar
Found plugin: sonar-html-plugin-3.14.0.5048.jar
Found plugin: sonar-iac-plugin-1.26.0.8471.jar
Found plugin: sonar-java-plugin-7.31.0.34839.jar
Found plugin: sonar-javascript-plugin-10.12.0.25537.jar
Found plugin: sonar-kotlin-plugin-2.20.0.4382.jar
Found plugin: sonar-php-plugin-3.33.0.11274.jar
Found plugin: sonar-python-plugin-4.15.0.14551.jar
Found plugin: sonar-ruby-plugin-1.15.0.4655.jar
Found plugin: sonar-text-plugin-2.8.0.1635.jar
Found plugin: sonar-xml-plugin-2.10.0.4108.jar
Found plugin: sonarlint-omnisharp-plugin-1.19.0.86083.jar
Found CFamily plugin: sonar-cfamily-plugin-6.53.0.67215.jar
Found CSharp plugin: sonarlint-omnisharp-plugin-1.19.0.86083.jar
Found HTML plugin: sonar-html-plugin-3.14.0.5048.jar
Found JavaScript/TypeScript plugin: sonar-javascript-plugin-10.12.0.25537.jar
Found Kotlin plugin: sonar-kotlin-plugin-2.20.0.4382.jar
Found Ruby plugin: sonar-ruby-plugin-1.15.0.4655.jar
Found XML plugin: sonar-xml-plugin-2.10.0.4108.jar
Found Secrets detection plugin: sonar-text-plugin-2.8.0.1635.jar
Found Go plugin: sonar-go-plugin-1.15.0.4655.jar
Found IaC plugin: sonar-iac-plugin-1.26.0.8471.jar
The 'Starting SonarLint service...' task timed out, please capture thread dumps of the 'SonarLintServerCli' process and report the problem to the SonarLint maintainers
Started embedded server on port 64120
Restoring previous local-only issue database from C:\ProgramData\IntelliJIdea\system\sonarlint\storage\local_only_issue_backup.tar.gz
Starting local-only issue database from C:\Users\xxx\.sonarlint\xodus-local-only-issue-store1087297523876197790
Can't open directory channel. Log directory fsync won't be performed.
Looking for node in the PATH
Execute command 'C:\Windows\System32\where.exe $PATH:node.exe'...
Command 'C:\Windows\System32\where.exe $PATH:node.exe' exited with 0
stdout: C:\Program Files\nodejs\node.exe
Found node at C:\Program Files\nodejs\node.exe
Checking node version...
Execute command 'C:\Program Files\nodejs\node.exe -v'...
Command 'C:\Program Files\nodejs\node.exe -v' exited with 0
stdout: v18.18.1
Detected node version: 18.18.1
Auto-detected Node.js path set to: C:\Program Files\nodejs\node.exe (version 18.18.1)

see also attached thread dump

Gilbert
threadDump-20240318-132525.txt (141.9 KB)

3 Likes

Hi @Rebse,

Thank you for reporting the issue and attaching the thread dump.

To help us investigate the issue more deeply, could you please make and attach the following thread dumps before the ‘Starting SonarLint service…’ task times out (which takes one minute):

  • one from Intellij
  • one for the backend of SonarLint service; That can be done by eg. running jps command from console to find id of the JVM process for SonarLintServerCli and then making a dump with jstack jstack <id>

Thank you very much for your cooperation on this.

Vojtech from :sonarlint:

Hi,

i didn’t change anything, but the very next day, there was no problem anymore and Sonarlint works fine :slight_smile:

Gilbert

1 Like

Thanks for the report @Rebse , I will close the ticket for now.

In case you would encounter the behaviour again, it would be of great help if you could get the thread dumps mentioned above.

Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.