Error in SonarLint for IntelliJ - java.lang.Throwable: ProjectFrameHelper is already disposed

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2021.2.1
  • SonarLint: 5.2.0.35150
java.lang.Throwable: ProjectFrameHelper is already disposed
	at c.ij.oa.diagnostic.Logger.error(Logger.java:182)
	at c.ij.oa.wm.impl.ProjectFrameHelper.getFrame(ProjectFrameHelper.java:437)
	at c.ij.oa.wm.impl.WindowWatcher.suggestParentWindow(WindowWatcher.java:233)
	at c.ij.oa.wm.impl.WindowManagerImpl.suggestParentWindow(WindowManagerImpl.kt:218)
	at c.ij.oa.progress.util.ProgressWindow.calcParentWindow(ProgressWindow.java:136)
	at c.ij.oa.progress.util.ProgressWindow.lambda$new$0(ProgressWindow.java:104)
	at c.ij.oa.progress.util.ProgressWindow.initializeDialog(ProgressWindow.java:126)
	at c.ij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:101)
	at c.ij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2183)
	at c.ij.oa.progress.util.ProgressWindow.<init>(ProgressWindow.java:108)
	at c.ij.oa.progress.impl.BackgroundableProcessIndicator.<init>(BackgroundableProcessIndicator.java:50)
	at c.ij.oa.progress.impl.BackgroundableProcessIndicator.<init>(BackgroundableProcessIndicator.java:43)
	at c.ij.oa.progress.impl.BackgroundableProcessIndicator.<init>(BackgroundableProcessIndicator.java:29)
	at c.ij.oa.progress.impl.ProgressManagerImpl.lambda$runProcessWithProgressAsynchronously$2(ProgressManagerImpl.java:136)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at c.ij.util.concurrency.PlainEdtExecutor.execute(PlainEdtExecutor.java:15)

Hi @DennysMuller

Do you still have the complete stack trace available? The one provided doesn’t show enough to involve SonarLint components.

Thanks