- Operating system: Windows 10
- SonarLint plugin version: 6.14.0.65870
- Programming language you’re coding in: C#
- Is connected mode used:
- Connected to SonarQube 9.5
And a thorough description of the problem / question:
When trying to bind SonarLint to the solution’s project in SonarQube, I get this error in the logs:
Binding solution to SonarQube project: Download quality profile(s):
SonarQube request failed: Response status code does not indicate success: 400 ().
Unexpected error during workflow execution: Value cannot be null.
Parameter name: source.
When I captured the call to sonar within Fiddler, I see the following error message:
{“errors”:[{“msg”:“Value of parameter \u0027f\u0027 (educationPrinciples) must be one of: [actives, createdAt, debtOverloaded, debtRemFn, defaultDebtRemFn, defaultRemFn, deprecatedKeys, descriptionSections, effortToFixDescription, gapDescription, htmlDesc, htmlNote, internalKey, isExternal, isTemplate, lang, langName, mdDesc, mdNote, name, noteLogin, params, remFn, remFnOverloaded, repo, scope, severity, status, sysTags, tags, templateKey, updatedAt]”}]}
And indeed, the f parameter of this call looks like:
repo,internalKey,params,actives,htmlDesc,descriptionSections,educationPrinciples,tags,name,htmlNote
But the error message says educationPrinciples isn’t allowed.
So my question is, do we need to upgrade our instance of SQ in order for it to support this additional value or is there a way to configure SonarLint to not include this in its parameters?