Error in SonarLint for IntelliJ community

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2021.2.1
  • SonarLint: 5.2.0.35150
java.lang.Throwable: Conflicting component name 'SonarLintGlobalSettings': class o.sl.ij.config.global.SonarLintGlobalSettings and class o.sl.ij.config.global.SonarLintGlobalSettingsStore (componentManager=Application (containerState=COMPONENT_CREATED) )
	at c.ij.oa.diagnostic.Logger.error(Logger.java:182)
	at c.ij.configurationStore.ComponentStoreImpl.doAddComponent(ComponentStoreImpl.kt:358)
	at c.ij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:116)
	at c.ij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:48)
	at c.ij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:525)
	at c.ij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
	at c.ij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:36)
	at c.ij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
	at c.ij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:67)
	at c.ij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:60)
	at c.ij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:590)
	at c.ij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:573)
	at c.ij.oa.client.ClientAwareComponentManager.getFromSelfOrCurrentSession(ClientAwareComponentManager.kt:37)

Hello @shmidi and welcome to the community!

Thank you for your report. Sorry answer took so long.
I’ve created the bug and you can track it here. If you have any other details about this issue - would be great to know them. How often this issue occurs, ideally - what the steps to reproduce. It can help us to fix it faster.
Have a good day!

Hi @shmidi

By chance, do you have the CodeScan plugin installed with SonarLint? The CodeScan plugin is a fork of SonarLint, and since they did not change class names, it makes the two plugins incompatible with each other.