Error in SonarLint for JetBrains

Environment:

  • Java: JetBrains s.r.o. 17.0.6
  • OS: Linux amd64
  • IDE: WebStorm 2022.3.4
  • SonarLint: 8.0.0.63273
c.ij.serviceContainer.AlreadyDisposedException: Cannot create o.sl.ij.editor.CodeAnalyzerRestarter because container is already disposed (container=Project(name=riskop-front, containerState=DISPOSE_COMPLETED, componentStore=/home/anderson_koffi/inexa/riskop-front) (disposed))
	at c.ij.serviceContainer.ContainerUtilKt.throwAlreadyDisposedError(containerUtil.kt:40)
	at c.ij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:695)
	at c.ij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:629)
	at o.sl.ij.common.util.SonarLintUtils.getService(SonarLintUtils.java:66)
	at o.sl.ij.analysis.OnTheFlyFindingsHolder.updateViewsWithNewFindings$lambda$2$lambda$1(OnTheFlyFindingsHolder.kt:63)
	at c.ij.oa.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
	at c.ij.oa.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
	at c.ij.oa.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
	at c.ij.oa.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
	at c.ij.oa.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:454)
	at c.ij.oa.application.impl.FlushQueue.doRun(FlushQueue.java:74)
	at c.ij.oa.application.impl.FlushQueue.runNextEvent(FlushQueue.java:114)
	at c.ij.oa.application.impl.FlushQueue.flushNow(FlushQueue.java:36)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
1 Like

Hello @koffi_anderson_n_da,

This bug has been fixed already, and we are about to release a new version in the next few days.

Thanks for using SonarLint :slight_smile:

1 Like

Thanks