Environment:
- Java: JetBrains s.r.o. 21.0.4
- OS: Windows 11 amd64
- IDE: IntelliJ IDEA 2024.2.4
- SonarLint: 10.4.2.78113
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)