Error in SonarLint for IntelliJ after completed analysis

Environment:

  • Java: JetBrains s.r.o. 17.0.5
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2022.3
  • SonarLint: 7.2.0.56810
c.ij.diagnostic.PluginException: PSI element is provided on EDT by o.sl.ij.ui.tree.IssueTree.getData("psi.File"). Please move that to a BGT data provider using PlatformCoreDataKeys.BGT_DATA_PROVIDER [Plugin: org.sonarlint.idea]
	at c.ij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
	at c.ij.diagnostic.PluginException.createByClass(PluginException.java:83)
	at c.ij.ide.impl.DataValidators.reportPsiElementOnEdt(DataValidators.java:87)
	at c.ij.ide.impl.DataValidators.isDataValid(DataValidators.java:72)
	at c.ij.ide.impl.DataValidators.validOrNull(DataValidators.java:62)
	at c.ij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.java:244)
	at c.ij.ide.impl.DataManagerImpl.getDataFromProviderAndRulesInner(DataManagerImpl.java:81)
	at c.ij.ide.impl.DataManagerImpl.getDataFromProviderAndRules(DataManagerImpl.java:60)
	at c.ij.oa.actionSystem.impl.PreCachedDataContext.cacheProviderData(PreCachedDataContext.java:329)
	at c.ij.oa.actionSystem.impl.PreCachedDataContext.cacheComponentsData(PreCachedDataContext.java:305)
	at c.ij.oa.actionSystem.impl.PreCachedDataContext.<init>(PreCachedDataContext.java:100)
	at c.ij.oa.actionSystem.impl.Utils.newPreCachedDataContext(Utils.java:117)
	at c.ij.oa.actionSystem.impl.Utils.wrapToAsyncDataContext(Utils.java:98)
	at c.ij.oa.actionSystem.impl.Utils.wrapDataContext(Utils.java:122)
	at c.ij.oa.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1260)

Hello Fabio,

This bug has been fixed in the last release (7.2.1), could you please update ?

Thanks for the feedback,

I still had IntelliJ waiting for restart after the update, for this reason I didn’t see any new updates while using the old version.