Error 'AlreadyDisposedException' in SonarLint for IntelliJ

Environment:

  • Java version=11.0.7
  • Java vendor=JetBrains s.r.o.
  • OS name=Linux
  • OS architecture=amd64
  • IDE=IntelliJ IDEA 2020.1.3
  • SonarLint version=4.9.0.19370
com.intellij.serviceContainer.AlreadyDisposedException: Cannot create Project (name=tipsys2, containerState=DISPOSE_COMPLETED, componentStore=/home/petr/work/src/tipsport/tipsys2)  because container is already disposed (container=Project (name=tipsys2, containerState=DISPOSE_COMPLETED, componentStore=/home/petr/work/src/tipsport/tipsys2) )
	at com.intellij.serviceContainer.ComponentManagerImpl.checkThatNotDisposedCompletely(ComponentManagerImpl.kt:439)
	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:415)
	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:394)
	at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:24)
	at org.sonarlint.intellij.util.SonarLintUtils.getService(SonarLintUtils.java:96)
	at org.sonarlint.intellij.util.ProjectLogOutput.log(ProjectLogOutput.java:37)
	at org.sonarsource.sonarlint.core.log.LogOutputDelegator.log(LogOutputDelegator.java:34)
	at org.sonar.api.utils.log.SonarLintLogger.doInfo(SonarLintLogger.java:82)
	at org.sonar.api.utils.log.BaseLogger.info(BaseLogger.java:76)
	at org.sonar.api.utils.log.SonarLintLogger.info(SonarLintLogger.java:29)
	at org.sonarsource.analyzer.commons.ProgressReport.log(ProgressReport.java:107)
	at org.sonarsource.analyzer.commons.ProgressReport.run(ProgressReport.java:70)
	at java.base/java.lang.Thread.run(Thread.java:834)

Hello,

This problem is already identified and will be fixed with this ticket: https://jira.sonarsource.com/browse/SLI-418

Thanks for the report
Damien