Error in SonarLint for IntelliJ - during maven imports


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

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 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(
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/

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: