-
Notifications
You must be signed in to change notification settings - Fork 18
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
Coldfusion plugin Global Settings #19
Comments
The SonarQube plugin will use the Java options set in |
I have set the Java executable options parameter on the sonarQube administration dashboard to |
I'm afraid not :( CFLint (and its underlying cfparser) contains very little logging, and most of the output are simple You could download CFLint and run it manually on the same code. Note the SonarQube plugin doesn't have the latest CFLint release, because that one had bugs that we considered blockers for adopting it. That means running plain CFLint might show fewer errors than the SonarQube analysis. |
Thanks. I have been running CFLint v1.20 manually looking into the issues there. |
After running the CFLint 1.2.0 manually and comparing the issue to the SonarQube plugin logs, the NULL Pointer Exception error is coming form the CFLintanalysisResultImport class of the plugin. the stack trace is below:
Looking through the code, the Precondition is failing on checking the input file, which is presumably the cflint-result.xml file that is stored in the .sonar folder. I don't have any logs that show what file is trying to be checked, but the InputReader created in CFlintAnalysisResultImporter.java on line 95 seems to be root of this NPE. update |
The error looks similar to #15, where I asked for some additional feedback but never got it. And we couldn't reproduce it. Maybe you can provide more details? |
Below is some information to assist the debugging. sonar-project.properties file
The structure of the code:
Script that runs the sonar-scanner
|
We have come across the same issue. It appears to be related to using sonar.exclusions INFO: SonarQube Scanner 3.2.0.1227 10:50:23.456 DEBUG: * CSS / SCSS / Less 4.18 (css) |
Are the Coldfusion plugin global settings from http://localhost:9000/settings?category=coldfusion used or do the values have to be set in the
sonar-project.properties
file?Specifically, I am running into an issue where the Coldfusion plugin is not terminating correctly and passing control back to SonarQube to run the next parser, and fails with a java Heap exception. I am trying to set the Java executable options to
-Xmx1024m -Xms512m -XX:+HeapDumpOnOutOfMemoryError
in the global settings, but I am not seeing any log or information showing me it's getting picked up. Before I try another run with setting the value in the project.properties file, I wanted to confirm.The text was updated successfully, but these errors were encountered: