Error in SonarLint for IntelliJ - Connect Mode

Environment:

  • Java: JetBrains s.r.o. 11.0.13
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2021.3.2
  • SonarLint: 6.6.0.45106
java.lang.IllegalStateException: Unable to extract rules metadata
	at o.ss.sl.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:40)
	at o.ss.sl.core.AbstractSonarLintEngine.loadPluginMetadata(AbstractSonarLintEngine.java:77)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.loadAnalysisContext(ConnectedSonarLintEngineImpl.java:169)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.start(ConnectedSonarLintEngineImpl.java:161)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.<init>(ConnectedSonarLintEngineImpl.java:151)
	at o.sl.ij.core.SonarLintEngineFactory.createEngine(SonarLintEngineFactory.java:96)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
	at o.sl.ij.core.DefaultEngineManager.getConnectedEngine(DefaultEngineManager.java:137)
	at o.sl.ij.core.ProjectBindingManager.getConnectedEngineSkipChecks(ProjectBindingManager.java:99)
	at o.sl.ij.core.ProjectBindingManager.getValidConnectedEngine(ProjectBindingManager.java:132)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesLoader.getTaintVulnerabilitiesByOpenedFiles(TaintVulnerabilitiesLoader.kt:43)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesPresenter$presentTaintVulnerabilitiesForOpenFiles$1.run(TaintVulnerabilitiesPresenter.kt:91)
	at c.ij.oa.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:436)
	at c.ij.oa.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:120)

Hi @Byron_Miranda

The stacktrace that is automatically added to the message is truncated. By chance, do you still have the full stacktrace in IntelliJ errors or logs?

Thanks