Error in SonarLint for IntelliJ - during maven imports

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2021.1.3
  • SonarLint: 6.7.0.45926

Trying to import or remove modules. I have a couple modules with the same name in different projects - like jar-web in 2 different portals, and I’m trying to add both to one project, giving one a different name when importing. Not sure if that is causing issues.

c.ij.serviceContainer.AlreadyDisposedException: Cannot create o.sl.ij.core.ModuleBindingManager because container is already disposed: Module: 'war-rest' (disposed)
	at c.ij.serviceContainer.ComponentManagerImpl.throwContainerIsAlreadyDisposed(ComponentManagerImpl.kt:522)
	at c.ij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:498)
	at c.ij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:471)
	at c.ij.oa.module.ModuleServiceManager.getService(ModuleServiceManager.java:17)
	at o.sl.ij.common.util.SonarLintUtils.getService(SonarLintUtils.java:73)
	at o.sl.ij.vcs.DefaultVcsService.resolveServerBranchName(DefaultVcsService.kt:57)
	at o.sl.ij.vcs.DefaultVcsService.refreshCache(DefaultVcsService.kt:83)
	at o.sl.ij.vcs.DefaultVcsService.refreshCacheAsync$lambda-1(DefaultVcsService.kt:77)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Hello David,

Thanks for raising this problem. We already fixed it very recently and we will release a new version in a few days.

Thanks for using SonarLint :slight_smile: