Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 17.0.8
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2023.2.1
  • SonarLint: 10.4.0.77904
c.ij.diagnostic.PluginException: Cannot create class o.sl.ij.core.BackendService (classloader=PluginClassLoader(plugin=PluginDescriptor(name=SonarLint, id=org.sonarlint.idea, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IdeaIC2023.2\plugins\sonarlint-intellij, version=10.4.0.77904, package=null, isBundled=false), packagePrefix=null, state=active))
	at c.ij.serviceContainer.ComponentManagerImpl.doInstantiateClass(ComponentManagerImpl.kt:1003)
	at c.ij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:954)
	at c.ij.serviceContainer.ComponentManagerImpl.createLightService(ComponentManagerImpl.kt:933)
	at c.ij.serviceContainer.ComponentManagerImpl.getOrCreateLightService(ComponentManagerImpl.kt:736)
	at c.ij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:688)
	at c.ij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:630)
	at o.sl.ij.common.util.SonarLintUtils.getService(SonarLintUtils.java:55)
	at o.sl.ij.finding.hotspot.SecurityHotspotsPresenter.presentSecurityHotspotsForOpenFiles$lambda$2(SecurityHotspotsPresenter.kt:40)
	at o.sl.ij.util.ThreadUtilsKt.runOnPooledThread$lambda$1(ThreadUtils.kt:38)
	at c.ij.oa.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:272)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at c.ij.util.concurrency.ContextCallable.call(ContextCallable.java:29)

Hi,

Welcome to the community and thanks for this report!

We’ve released 10.4.2. Can you upgrade and see if this is still replicable?

 
Thx,
Ann