Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to use sonarlint intellij after install ecocode #356

Open
zied-ellouze opened this issue Oct 15, 2024 · 3 comments
Open

unable to use sonarlint intellij after install ecocode #356

zied-ellouze opened this issue Oct 15, 2024 · 3 comments
Labels
__PRIO_HIGH__ 💉 bug Something isn't working

Comments

@zied-ellouze
Copy link
Contributor

Describe the bug
After installing ecocode plugins on my sonarquabe instance, I can no longer use sonarlint on my intelij IDE
I have error when I lunch scan current file for example

 Starting the SonarLint service process...
Listing SonarLint service files:
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\annotations-13.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\checker-qual-3.33.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\commons-codec-1.15.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\commons-compress-1.26.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\commons-csv-1.10.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\commons-io-2.16.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\commons-lang-2.6.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\commons-lang3-3.12.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\ecocode-java-1.6.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\error_prone_annotations-2.18.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\failureaccess-1.0.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\git-files-blame-1.0.3.1673.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\gson-2.10.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\guava-32.1.1-jre.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\httpclient5-5.2.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\httpcore5-5.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\httpcore5-h2-5.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\j2objc-annotations-2.8.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\JavaEWAH-1.2.3.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\javax.annotation-api-1.3.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\javax.inject-1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\jsr305-3.0.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\jul-to-slf4j-1.7.36.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\kotlin-logging-1.7.9.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\kotlin-stdlib-1.6.21.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\kotlin-stdlib-common-1.6.21.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\logback-classic-1.2.13.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\logback-core-1.2.13.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\org.eclipse.jgit-6.9.0.202403050737-r.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\org.eclipse.lsp4j.jsonrpc-0.22.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\picocli-4.7.3.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\protobuf-java-4.28.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\slf4j-api-1.7.36.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonar-channel-4.2.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonar-classloader-1.0.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonar-markdown-9.4.0.54424.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonar-plugin-api-10.11.0.2468.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonar-scanner-protocol-9.9.0.65466.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-analysis-engine-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-backend-cli-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-commons-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-core-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-http-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-plugin-api-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-plugin-commons-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-rpc-impl-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-rpc-protocol-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-rule-extractor-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-server-api-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-server-connection-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sonarlint-telemetry-10.7.1.79146.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\spring-aop-5.3.39.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\spring-beans-5.3.39.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\spring-context-5.3.39.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\spring-core-5.3.39.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\spring-expression-5.3.39.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\spring-jcl-5.3.39.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\sslcontext-kickstart-8.3.4.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\xodus-compress-2.0.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\xodus-entity-store-2.0.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\xodus-environment-2.0.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\xodus-openAPI-2.0.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\xodus-utils-2.0.1.jar
C:\Users\ZIED\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\sonarlint-intellij\sloop\lib\xodus-vfs-2.0.1.jar
 [2024-10-15T15:38:52.6236775] [ApplicationImpl pooled thread 2] INFO org.sonarsource.sonarlint.core.rpc.client.SloopLauncher - Using JRE from C:\Program Files\JetBrains\PhpStorm-2022.3.2\jbr
Migrating the storage...
Listening for SonarLint service exit...
Initializing the SonarLint service...
 [2024-10-15T15:38:53.513] [main] INFO org.sonarsource.sonarlint.core.rpc.impl.SonarLintRpcServerImpl - SonarLint backend started, instance=org.sonarsource.sonarlint.core.rpc.impl.SonarLintRpcServerImpl@5b367418
 [2024-10-15T15:38:59.03] [SonarLint Server RPC sequential executor] INFO sonarlint - Started embedded server on port 64120
 [2024-10-15T15:38:59.221] [SonarLint Server RPC sequential executor] WARN jetbrains.exodus.io.FileDataWriter - Can't open directory channel. Log directory fsync won't be performed.
SonarLint service initialized...
 [2024-10-15T15:39:01.155] [SonarLint Server RPC sequential executor] WARN sonarlint - Node.js could not be automatically detected, has to be configured manually in the SonarLint preferences!
 [2024-10-15T15:39:02.025] [SonarLint Local Storage Synchronizer] INFO sonarlint - Downloaded plugin list in 96ms
 [2024-10-15T15:39:02.029] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing analyzer configuration for project 'projet.test'
 [2024-10-15T15:39:02.13] [SonarLint Local Storage Synchronizer] INFO sonarlint - Downloaded settings in 96ms
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'cloudformation' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'css' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'docker' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'js' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'kotlin' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'kubernetes' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'php' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'py' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'ruby' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'scala' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'secrets' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'swift' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'terraform' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'ts' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'web' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'xml' are up-to-date
 [2024-10-15T15:39:02.305] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'yaml' are up-to-date
 [2024-10-15T15:39:02.47] [SonarLint Local Storage Synchronizer] INFO sonarlint - Synchronizing project branches for project 'projet.test'
 [2024-10-15T15:39:02.596] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing issues for project 'projet.test' on branch 'develop'
 [2024-10-15T15:39:02.75] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing taint issues for project projet.test' on branch 'develop'
Did synchronize config scopes [C:/workspace/projet.test/.idea/misc.xml]
Analysing 'cypress.config.ts' (ID eb7d8f52-30da-4908-af52-5b01f40183f3)...
 [2024-10-15T15:39:14.005] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'ecocodeandroid'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
	at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	at io.ecocode.EcoCodeRulesPlugin.define(EcoCodeRulesPlugin.java:50)
	at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
	at org.sonarsource.sonarlint.core.analysis.container.global.AnalysisExtensionInstaller.install(AnalysisExtensionInstaller.java:44)
	at org.sonarsource.sonarlint.core.analysis.container.global.GlobalExtensionContainer.doBeforeStart(GlobalExtensionContainer.java:36)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
	at org.sonarsource.sonarlint.core.analysis.container.global.GlobalAnalysisContainer.doAfterStart(GlobalAnalysisContainer.java:70)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.start(AnalysisEngine.java:58)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.<init>(AnalysisEngine.java:53)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.createEngine(AnalysisEngineCache.java:98)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateConnectedEngine$1(AnalysisEngineCache.java:78)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateConnectedEngine(AnalysisEngineCache.java:78)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateAnalysisEngine$0(AnalysisEngineCache.java:73)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateAnalysisEngine(AnalysisEngineCache.java:73)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:642)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	... 38 more

 [2024-10-15T15:39:14.025] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'ecocodejava'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
	at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	at fr.greencodeinitiative.java.JavaPlugin.define(JavaPlugin.java:30)
	at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
	at org.sonarsource.sonarlint.core.analysis.container.global.AnalysisExtensionInstaller.install(AnalysisExtensionInstaller.java:44)
	at org.sonarsource.sonarlint.core.analysis.container.global.GlobalExtensionContainer.doBeforeStart(GlobalExtensionContainer.java:36)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
	at org.sonarsource.sonarlint.core.analysis.container.global.GlobalAnalysisContainer.doAfterStart(GlobalAnalysisContainer.java:70)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.start(AnalysisEngine.java:58)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.<init>(AnalysisEngine.java:53)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.createEngine(AnalysisEngineCache.java:98)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateConnectedEngine$1(AnalysisEngineCache.java:78)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateConnectedEngine(AnalysisEngineCache.java:78)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateAnalysisEngine$0(AnalysisEngineCache.java:73)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateAnalysisEngine(AnalysisEngineCache.java:73)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:642)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	... 38 more

 [2024-10-15T15:39:14.031] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'ecocodeandroid'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
	at io.ecocode.EcoCodeRulesPlugin.define(EcoCodeRulesPlugin.java:50)
	at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
	at org.sonarsource.sonarlint.core.analysis.container.global.AnalysisExtensionInstaller.install(AnalysisExtensionInstaller.java:44)
	at org.sonarsource.sonarlint.core.analysis.container.module.ModuleContainer.doBeforeStart(ModuleContainer.java:57)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.createContainer(ModuleRegistry.java:56)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.lambda$registerModule$0(ModuleRegistry.java:47)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.registerModule(ModuleRegistry.java:47)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.<init>(ModuleRegistry.java:42)
	at org.sonarsource.sonarlint.core.analysis.container.global.GlobalAnalysisContainer.doAfterStart(GlobalAnalysisContainer.java:71)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.start(AnalysisEngine.java:58)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.<init>(AnalysisEngine.java:53)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.createEngine(AnalysisEngineCache.java:98)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateConnectedEngine$1(AnalysisEngineCache.java:78)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateConnectedEngine(AnalysisEngineCache.java:78)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateAnalysisEngine$0(AnalysisEngineCache.java:73)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateAnalysisEngine(AnalysisEngineCache.java:73)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:642)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
	... 32 more

 [2024-10-15T15:39:14.032] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'ecocodejava'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
	at fr.greencodeinitiative.java.JavaPlugin.define(JavaPlugin.java:30)
	at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
	at org.sonarsource.sonarlint.core.analysis.container.global.AnalysisExtensionInstaller.install(AnalysisExtensionInstaller.java:44)
	at org.sonarsource.sonarlint.core.analysis.container.module.ModuleContainer.doBeforeStart(ModuleContainer.java:57)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.createContainer(ModuleRegistry.java:56)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.lambda$registerModule$0(ModuleRegistry.java:47)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.registerModule(ModuleRegistry.java:47)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.sonarsource.sonarlint.core.analysis.container.global.ModuleRegistry.<init>(ModuleRegistry.java:42)
	at org.sonarsource.sonarlint.core.analysis.container.global.GlobalAnalysisContainer.doAfterStart(GlobalAnalysisContainer.java:71)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.start(AnalysisEngine.java:58)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.<init>(AnalysisEngine.java:53)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.createEngine(AnalysisEngineCache.java:98)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateConnectedEngine$1(AnalysisEngineCache.java:78)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateConnectedEngine(AnalysisEngineCache.java:78)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.lambda$getOrCreateAnalysisEngine$0(AnalysisEngineCache.java:73)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngineCache.getOrCreateAnalysisEngine(AnalysisEngineCache.java:73)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:642)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
	... 32 more

 [2024-10-15T15:39:14.051] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'ecocodeandroid'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
	at io.ecocode.EcoCodeRulesPlugin.define(EcoCodeRulesPlugin.java:50)
	at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractorContainer.doBeforeStart(RulesDefinitionExtractorContainer.java:54)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:39)
	at org.sonarsource.sonarlint.core.rules.RulesExtractionHelper.extractRulesForConnection(RulesExtractionHelper.java:57)
	at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.lazyInit(RulesRepository.java:81)
	at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.getRule(RulesRepository.java:72)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.tryConvertDeprecatedKeys(AnalysisService.java:424)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$buildConnectedActiveRules$7(AnalysisService.java:328)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.buildConnectedActiveRules(AnalysisService.java:322)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$getAnalysisConfig$1(AnalysisService.java:261)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfig(AnalysisService.java:257)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfigForEngine(AnalysisService.java:269)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:643)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
	... 35 more

 [2024-10-15T15:39:14.053] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'ecocodejava'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
	at fr.greencodeinitiative.java.JavaPlugin.define(JavaPlugin.java:30)
	at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractorContainer.doBeforeStart(RulesDefinitionExtractorContainer.java:54)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:39)
	at org.sonarsource.sonarlint.core.rules.RulesExtractionHelper.extractRulesForConnection(RulesExtractionHelper.java:57)
	at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.lazyInit(RulesRepository.java:81)
	at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.getRule(RulesRepository.java:72)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.tryConvertDeprecatedKeys(AnalysisService.java:424)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$buildConnectedActiveRules$7(AnalysisService.java:328)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.buildConnectedActiveRules(AnalysisService.java:322)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$getAnalysisConfig$1(AnalysisService.java:261)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfig(AnalysisService.java:257)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfigForEngine(AnalysisService.java:269)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:643)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
	... 35 more

 [2024-10-15T15:39:14.074] [SonarLint Server RPC request executor] ERROR org.eclipse.lsp4j.jsonrpc.RemoteEndpoint - Internal error: java.lang.IllegalStateException: Unable to extract rules metadata
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Unable to extract rules metadata
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalStateException: Unable to extract rules metadata
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:42)
	at org.sonarsource.sonarlint.core.rules.RulesExtractionHelper.extractRulesForConnection(RulesExtractionHelper.java:57)
	at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.lazyInit(RulesRepository.java:81)
	at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.getRule(RulesRepository.java:72)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.tryConvertDeprecatedKeys(AnalysisService.java:424)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$buildConnectedActiveRules$7(AnalysisService.java:328)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.buildConnectedActiveRules(AnalysisService.java:322)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$getAnalysisConfig$1(AnalysisService.java:261)
	at java.base/java.util.Optional.map(Optional.java:260)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfig(AnalysisService.java:257)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfigForEngine(AnalysisService.java:269)
	at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:643)
	at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:141)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
	at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	... 4 common frames omitted
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonarsource.sonarlint.core.rule.extractor.RuleDefinitionsLoader
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.getComponentByType(SpringComponentContainer.java:132)
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractorContainer.doAfterStart(RulesDefinitionExtractorContainer.java:79)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:39)
	... 29 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@28c97a5-org.sonarsource.sonarlint.core.rule.extractor.RuleDefinitionsLoader': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ClassRealm{ecocodecsharp}-io.ecocode.csharp.CSharpRulesDefinition': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:794)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:220)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:234)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1284)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1245)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:494)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:349)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:342)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1189)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.getComponentByType(SpringComponentContainer.java:130)
	... 33 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ClassRealm{ecocodecsharp}-io.ecocode.csharp.CSharpRulesDefinition': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:794)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:220)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1228)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1462)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.createOptionalDependency(DefaultListableBeanFactory.java:1852)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1298)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904)
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:781)
	... 49 common frames omitted
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1801)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1357)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904)
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:781)
	... 67 common frames omitted

Error during analysis ID eb7d8f52-30da-4908-af52-5b01f40183f3
org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error.
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:220)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:204)
	at org.sonarsource.sonarlint.core.rpc.protocol.SingleThreadedMessageConsumer.lambda$new$0(SingleThreadedMessageConsumer.java:51)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

Expected behavior
You need to allow the sonarlint plugin to download the ecocode plugins

Software Versions

  • SonarQube Version: 9.9 community
  • Sonar Lint : 10.11.1.79663
  • ecoCode - C# 1.1.0
  • ecoCode - java 1.6.2
  • ecoCode - PHP 1.5.1
  • ecoCode - Python 1.4.4
  • ecoCode - Android 1.1.0
  • ecoCode - JavaScript 1.4.0
  • ecoCode - iOS 1.1.0
@dedece35 dedece35 added 💉 bug Something isn't working __PRIO_HIGH__ labels Oct 15, 2024
@dedece35
Copy link
Member

Hi @zied-ellouze,
thank you for issue.
Can you give us more context data ?
Did you have already installed ecocode plugins before and it was ok ?
If yes, how can you explain, that now it is'nt ok ? new SonarQube version installed ? new plugin versions installed ?

thank you

@zied-ellouze
Copy link
Contributor Author

Hi @dedece35
This is an existing SonarQube installation and we recently installed the ecocode plugins.
Since installing the ecode plugins I have the errors with the plugin sonarLint on my IDE

Thank you

@aminebma22
Copy link

Hello @dedece35 i have the same issue.
sonarlint any longer working in connected mode here are the logs

[2024-11-15T08:39:32.657] [SonarLint Local Storage Synchronizer] INFO sonarlint - Synchronizing project branches for project 'XXXXXX' [2024-11-15T08:39:32.774] [SonarLint Server RPC request executor] ERROR org.eclipse.lsp4j.jsonrpc.RemoteEndpoint - Internal error: java.lang.IllegalStateException: Unable to extract rules metadata java.util.concurrent.CompletionException: java.lang.IllegalStateException: Unable to extract rules metadata at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalStateException: Unable to extract rules metadata at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:42) at org.sonarsource.sonarlint.core.rules.RulesExtractionHelper.extractRulesForConnection(RulesExtractionHelper.java:57) at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.lazyInit(RulesRepository.java:81) at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.getRule(RulesRepository.java:72) at org.sonarsource.sonarlint.core.analysis.AnalysisService.tryConvertDeprecatedKeys(AnalysisService.java:373) at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$buildConnectedActiveRules$6(AnalysisService.java:275) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at org.sonarsource.sonarlint.core.analysis.AnalysisService.buildConnectedActiveRules(AnalysisService.java:269) at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$getAnalysisConfig$0(AnalysisService.java:226) at java.base/java.util.Optional.map(Optional.java:260) at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfig(AnalysisService.java:226) at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfigForEngine(AnalysisService.java:233) at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:546) at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFiles$7(AnalysisRpcServiceDelegate.java:117) at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67) at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135) at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65) at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ... 4 common frames omitted Caused by: java.lang.IllegalStateException: Unable to load component class org.sonarsource.sonarlint.core.rule.extractor.RuleDefinitionsLoader at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.getComponentByType(SpringComponentContainer.java:132) at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractorContainer.doAfterStart(RulesDefinitionExtractorContainer.java:79) at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182) at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161) at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:39) ... 29 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@28c97a5-org.sonarsource.sonarlint.core.rule.extractor.RuleDefinitionsLoader': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ClassRealm{ecocodecsharp}-io.ecocode.csharp.CSharpRulesDefinition': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:224) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1284) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1245) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:494) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:349) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:342) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1178) at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.getComponentByType(SpringComponentContainer.java:130) ... 33 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ClassRealm{ecocodecsharp}-io.ecocode.csharp.CSharpRulesDefinition': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:224) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1228) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1462) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349) at org.springframework.beans.factory.support.DefaultListableBeanFactory.createOptionalDependency(DefaultListableBeanFactory.java:1852) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1298) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ... 49 common frames omitted Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1801) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1357) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ... 67 common frames omitted

any update ? thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
__PRIO_HIGH__ 💉 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants