You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
When analysing a project with a test report, SurefireParser will process the reports and calls context.saveMeasure on the unit test resources. But if the unit test resources are not published to sonar-scanner via sonar.tests (cmdline or sonar-project.properties file), the unit test resource can't be found and context.saveMeasure will be invoked with null as resource parameter.
This will ultimately crash sonar-scanner.
This plugin should check if the unit test resource can be retrieved before calling context.saveMeasure to prevent the crash.
Tested on SonarQube 5.6.6 and sonar-objective-c plugin 0.6.1.
But will most likely occur on SonarQube 6.x too.
The text was updated successfully, but these errors were encountered:
When analysing a project with a test report, SurefireParser will process the reports and calls context.saveMeasure on the unit test resources. But if the unit test resources are not published to sonar-scanner via sonar.tests (cmdline or sonar-project.properties file), the unit test resource can't be found and context.saveMeasure will be invoked with null as resource parameter.
This will ultimately crash sonar-scanner.
This plugin should check if the unit test resource can be retrieved before calling context.saveMeasure to prevent the crash.
Tested on SonarQube 5.6.6 and sonar-objective-c plugin 0.6.1.
But will most likely occur on SonarQube 6.x too.
The text was updated successfully, but these errors were encountered: