Error in SonarLint for IntelliJ 6.7.0.45926

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2021.1.3
  • SonarLint: 6.7.0.45926
c.ij.serviceContainer.AlreadyDisposedException: Cannot create o.sl.ij.core.ModuleBindingManager because container is already disposed: Module: 'content-apache (2)' (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,

I managed to spot the problem in the code, and I created this ticket.

We will fix it and it should be released early next week.

Thanks for reporting!

1 Like