Please provide
- Operating system: Windows 10
- SonarLint plugin version: 7.0.0.52289
- Is connected mode used: no
- Connected to SonarCloud or SonarQube (and which version):
And a thorough description of the problem / question:
When PhpStorm is lauched Phpstorm is blocked with the error message below :
Plugin 'org.sonarlint.idea' failed to initialize and will be disabled. Please restart PhpStorm.
com.intellij.diagnostic.PluginException: Key org.sonarlint.intellij.config.global.SonarLintGlobalSettingsStore duplicated; existingAdapter: ServiceAdapter(descriptor=ServiceDescriptor(interface='null', serviceImplementation='org.sonarlint.intellij.config.global.SonarLintGlobalSettingsStore', testServiceImplementation='null', headlessImplementation='null', overrides=false, configurationSchemaKey='null', preload=FALSE, client=null), pluginDescriptor=PluginDescriptor(name=CodeScan, id=com.code-scan.intellij, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\PhpStorm2022.2\plugins\CodeScan, version=6.1.2, package=null, isBundled=false)); descriptor: org.sonarlint.intellij.config.global.SonarLintGlobalSettingsStore; app: Application (containerState PRE_INIT) ; current plugin: org.sonarlint.idea
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:501)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:250)
at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:63)
at com.intellij.idea.ApplicationLoader$initApplication$block$3.apply(ApplicationLoader.kt:148)
at com.intellij.idea.ApplicationLoader$initApplication$block$3.apply(ApplicationLoader.kt)
at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2309)
at com.intellij.idea.ApplicationLoader.initApplication(ApplicationLoader.kt:145)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.intellij.idea.o.a(o.java:100)
at com.intellij.ide.o.v.aZ.a(aZ.java:137)
at com.intellij.ide.o.v.N.a(N.java:189)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.intellij.idea.MainImpl.start(MainImpl.java:85)
at com.intellij.idea.StartupUtil.lambda$start$14(StartupUtil.java:262)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Tried to uninstall / install from PHPStorm, in two ways (directly from plugin manage and from zip file)
Same error, I need force quit Phpstorm and launch new time but after sonar plugin unavailable