Error in SonarLint for IntelliJ Please move that to a BGT data provider

I got this exception after clicking (folding? closing?) Sonarline plugin buttons

Environment:

  • Java: JetBrains s.r.o. 17.0.5
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2022.3.2
  • SonarLint: 6.3.1.40498
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)

Hi @LukaszE,

Your SonarLint version is quite outdated and since this issue has been fixed in version 7.2.1, updating to the latest version should solve the problem.

Thanks for using SonarLint!