-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQ-5.2 background task: java.lang.IllegalArgumentException: Rule 'cxx:CycleBetweenPackages' #734
Comments
I had the same issue. I think I change the definition to be linear using On Sat, Jan 2, 2016, 23:13 Bert [email protected] wrote:
|
Meanwhile I replaced the SQALE annotation with @Rule(
key = "CycleBetweenPackages",
name = "Avoid cyclic dependency between packages",
tags = {Tags.CONVENTION},
priority = Priority.MAJOR)
@ActivatedByDefault
@SqaleSubCharacteristic(RulesDefinition.SubCharacteristics.ARCHITECTURE_RELIABILITY)
@SqaleLinearRemediation(coeff= "120min" , effortToFixDescription = "extract problematic methods and move it to separate package") |
Wonder if it's because the definitions are in both places? On Sun, Jan 3, 2016, 07:35 Bert [email protected] wrote:
|
The cxx-checks sqale definitions should be removed from sonar-cxx-plugin/src/main/resources/com/sonar/sqale/cxx-model.xml. |
I think so to, one thing I notice if you use the rest api is, if a def is Wondering if the same happens on the batch side. That would explain it. On Sun, Jan 3, 2016, 11:27 Bert [email protected] wrote:
|
I observed an issue with SQALE remediation function for 'cxx:CycleBetweenPackages'. I disabled the rule and the results were loaded successfully to SQ DB.
@guwirth, @jmecosta: Did you also see this issues?
The text was updated successfully, but these errors were encountered: