Error in SonarLint for IntelliJ IDEA 2023.2

Environment:

  • Java: JetBrains s.r.o. 17.0.7
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2023.2
  • SonarLint: 8.5.1.75093
java.lang.IllegalStateException: Unable to extract rules metadata
	at o.ss.sl.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:42)
	at o.ss.sl.core.AbstractSonarLintEngine.loadPluginMetadata(AbstractSonarLintEngine.java:77)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.loadAnalysisContext(ConnectedSonarLintEngineImpl.java:120)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.start(ConnectedSonarLintEngineImpl.java:112)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.<init>(ConnectedSonarLintEngineImpl.java:102)
	at o.sl.ij.core.SonarLintEngineFactory.createEngine(SonarLintEngineFactory.java:62)
	at o.sl.ij.core.DefaultEngineManager.createConnectedEngine(DefaultEngineManager.java:122)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1220)
	at o.sl.ij.core.DefaultEngineManager.getConnectedEngine(DefaultEngineManager.java:114)
	at o.sl.ij.core.ProjectBindingManager.getConnectedEngineSkipChecks(ProjectBindingManager.java:102)
	at o.sl.ij.core.ProjectBindingManager.getValidConnectedEngine(ProjectBindingManager.java:135)
	at o.sl.ij.finding.issue.vulnerabilities.TaintVulnerabilitiesLoader.getTaintVulnerabilitiesByOpenedFiles(TaintVulnerabilitiesLoader.kt:42)
	at o.sl.ij.finding.issue.vulnerabilities.TaintVulnerabilitiesPresenter$presentTaintVulnerabilitiesForOpenFiles$1.run(TaintVulnerabilitiesPresenter.kt:108)
	at c.ij.oa.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428)
	at c.ij.oa.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115)

Hi @JayPatel711, thank you for your report!

This error is often due to an external plugin not compatible with SonarLint, could you please send us the full stack trace?