Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 21.0.3
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2024.2.0.2
  • SonarLint: 10.5.0.78339
java.lang.Throwable: o.sl.ij.actions.ReopenIssueAction <clinit> requests c.ij.notification.NotificationGroupManager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.
	at c.ij.oa.diagnostic.Logger.error(Logger.java:376)
	at c.ij.serviceContainer.ComponentManagerImplKt.checkOutsideClassInitializer(ComponentManagerImpl.kt:1588)
	at c.ij.serviceContainer.ComponentManagerImplKt.getOrCreateInstanceBlocking(ComponentManagerImpl.kt:1557)
	at c.ij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:746)
	at c.ij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:690)
	at c.ij.notification.NotificationGroupManager.getInstance(NotificationGroupManager.java:19)
	at o.sl.ij.actions.ReopenIssueAction.<clinit>(ReopenIssueAction.kt:58)
	at o.sl.ij.ui.tree.IssueTree.init(IssueTree.java:83)
	at o.sl.ij.ui.tree.IssueTree.<init>(IssueTree.java:56)
	at o.sl.ij.ui.AbstractIssuesPanel.createIssuesTree(AbstractIssuesPanel.java:139)
	at o.sl.ij.ui.AbstractIssuesPanel.<init>(AbstractIssuesPanel.java:78)
	at o.sl.ij.ui.CurrentFilePanel.<init>(CurrentFilePanel.java:78)
	at o.sl.ij.ui.SonarLintToolWindowFactory.addCurrentFileTab(SonarLintToolWindowFactory.java:105)
	at o.sl.ij.ui.SonarLintToolWindowFactory.createToolWindowContent(SonarLintToolWindowFactory.java:58)
	at c.ij.oa.wm.impl.ToolWindowImpl.createContentIfNeeded(ToolWindowImpl.kt:667)
	at c.ij.oa.wm.impl.ToolWindowImpl.getContentManager(ToolWindowImpl.kt:527)

Hey there.

This version is a few versions old. Can you upgrade to v10.8.1 and see if the issue persists?

Weird, it says this for sonarLint:
image

Hm… first of all, I didn’t realize we released a v10.9 yesterday – good to know!

Also strange that the auto-generated report says 10.5.0.78339… I’ll keep an eye out for other reports like that. Any chance it auto-updated since the time you submitted the report?

I did an update and also restarted everything just now.
might be that intelliJ got stuck or something. Hopefully the logs now shopw the correct version.
(error is still there btw).

idea-logs-20240905-0828519394806853286686005.zip (8.2 MB)

And might it help, this one I cannot “mark as”:


(I think this also is not in main, but I’ll be able to verify soon once I get the go for delvering).

And this on I can:

Issue is not in main branch, but still no way to “mark as…”
image