AlreadyDisposedException in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2021.2.1
  • SonarLint: 5.2.0.35150
c.ij.serviceContainer.AlreadyDisposedException: Already disposed: Project(name=template-manager-backend, containerState=DISPOSE_COMPLETED, componentStore=C:\Users\S.Nemets\IdeaProjects\template-manager-backend) (disposed)
	at c.ij.serviceContainer.ComponentManagerImpl.checkState(ComponentManagerImpl.kt:187)
	at c.ij.serviceContainer.ComponentManagerImpl.getComponent(ComponentManagerImpl.kt:537)
	at c.ij.oa.fileEditor.FileEditorManager.getInstance(FileEditorManager.java:21)
	at o.sl.ij.util.ExtensionsKt.getOpenFiles(Extensions.kt:30)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesLoader.getTaintVulnerabilitiesByOpenedFiles(TaintVulnerabilitiesLoader.kt:45)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesPresenter$presentTaintVulnerabilitiesForOpenFiles$1.run(TaintVulnerabilitiesPresenter.kt:89)
	at c.ij.oa.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)
	at c.ij.oa.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)
	at c.ij.oa.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)
	at c.ij.oa.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)
	at c.ij.oa.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
	at c.ij.oa.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
	at c.ij.oa.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)

Hello @Sergey_Nemets

Welcome to community and thanks for your report.
I’ve created bug based on your feedback: https://jira.sonarsource.com/browse/SLI-608
It will be helpful it you will elaborate more about when this exception happened. Was it one time or several times?

Good day, Kirill.
This issue appeared several times, but later (maybe after update it has gone).
Unfortunately I do not remember which actions can reproduce this issue

1 Like