Error in SonarLint for IntelliJ IUnitTestElementCriterion

Environment:

  • Java: JetBrains s.r.o. 11.0.13
  • OS: Windows 11 amd64
  • IDE: JetBrains Rider 2021.3.2
  • SonarLint: 6.3.1.40498
com.jetbrains.rdclient.util.BackendException: Failed to evaluate the data rule. Метод не найден: "JetBrains.ReSharper.UnitTestFramework.Criteria.IUnitTestElementCriterion JetBrains.ReSharper.UnitTestFramework.Criteria.DisjunctiveCriterion.From(System.Collections.Generic.IEnumerable`1<JetBrains.ReSharper.UnitTestFramework.Criteria.IUnitTestElementCriterion>)".

--- EXCEPTION #1/3 [MissingMethodException]
Message = “Метод не найден: "JetBrains.ReSharper.UnitTestFramework.Criteria.IUnitTestElementCriterion JetBrains.ReSharper.UnitTestFramework.Criteria.DisjunctiveCriterion.From(System.Collections.Generic.IEnumerable`1<JetBrains.ReSharper.UnitTestFramework.Criteria.IUnitTestElementCriterion>)".”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.MissingMethodException
HResult = COR_E_MISSINGMETHOD=80131513
Source = ReSharperPlugin.SpecflowRiderPlugin
StackTraceString = “
  в ReSharperPlugin.SpecflowRiderPlugin.UnitTestExplorers.SpecFlowTestsDataRules.GetSpecFlowUnitTestElements(IDataContext context)
     в JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
     в JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
”

--- Outer ---

--- EXCEPTION #2/3 [InvalidOperationException]

Hello @inyutin-maxim,

I don’t see anything related to SonarLint in this stack trace, do you have any other message or a more complete message ?

I use your great plugin and sometimes get similar mistakes.

My Environment:

JetBrains Rider 2021.3.2
Build #RD-213.6461.51, built on December 22, 2021
Licensed to Максим Инютин
You have a perpetual fallback license for this version.
Subscription is active until July 29, 2023.
Runtime version: 11.0.13+7-b1751.21 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
.NET Framework 4.0.30319.42000
GC: G1 Young Generation, G1 Old Generation
Memory: 1500M
Cores: 6
Registry:
ide.mac.bigsur.window.with.tabs.enabled=false
debugger.valueTooltipAutoShowOnSelection=true
ide.new.project.model.index.case.sensitivity=true
rdclient.asyncActions=false
indexing.enable.entity.provider.based.indexing=false

Non-Bundled Plugins:
testlinker2-rider (2021.3)
tanvd.grazi (213.6461.19)
org.sonarlint.idea (6.3.1.40498)
org.example.githubpang.rossynt (213.9.0)
org.bigtows.PinNote (2.1.1)
idea.plugin.protoeditor (213.6461.28)
fluentvalidation-rider (2021.3.0)
fluentassertions-rider (2021.3.0)
eu.gillissen.rider.usersecrets (1.2.0)
com.settler.rider.specflow (1.10.0)
net.allape.XFTP (0.10.2)
com.intellij.rider.plugins.nuke (2021.3.0)
com.intellij.resharper.StructuredLogging (2021.3.0.177)
com.intellij.resharper.HeapAllocationsViewer (2021.3.0)
com.gmike.visual-studio-2019-dark (1.5.3)
com.github.gitduckhq.intellij-plugin (1.1.27)
com.intellij.plugin.adernov.powershell (2.0.9)
PlantUML integration (5.9.1)
Keymap exporter (2.2)
Key Promoter X (2021.3)
izhangzhihao.rainbow.brackets (6.21)
cn.yiiguxing.plugin.translate (3.2.1-213)
zielu.gittoolbox (212.8.4)
mobi.hsz.idea.gitignore (4.3.0)
com.microsoft.vso.idea (1.162.0)
com.mallowigi (50.2.0)
com.almightyalpaca.intellij.plugins.discord (1.8.0)
com.intellij.kubernetes (213.6461.19)
ru.adelf.idea.dotenv (2021.3.0.213)
CyclomaticComplexity (2021.3.0)
Batch Scripts Support (1.0.13)
Abc.MoqComplete.Rider (1.4.11)

I still don’t see anything useful. If the error happens again, could you check in the stack trace if SonarLint is mentioned ? Thanks