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
One of my customers has a Java app with two folders containing many of the same files/classes:
*PaymentProcessorWeb
*PaymentProcessorV2Web
They point Cobertura at PaymentProcessorV2Web and create a coverage.xml file. The file is picked up in Sonarqube. The file's "source" property points to PaymentProcessorV2Web but the failure message says:
java.lang.IllegalStateException: Can't create measure for line 467 for file 'D:/a6/pi_paymentprocessor/autobuild_v1_0/trunk/src/PaymentProcessorWeb/src/com/thehartford/consumer/ams/AbstractBaseProxy.java' with 459 lines
It appears the plugin is looking at PaymentProcessorWeb (not "V2") and failing. We've also set Sonarqube sonar.sources=PaymentProcessorV2Web and sonar.exclusions=PaymentProcessorWeb for what it's worth.
Any thoughts?
I've included the Sonarqube log, build.xml and coverage.xml. log (1).txt
One of my customers has a Java app with two folders containing many of the same files/classes:
*PaymentProcessorWeb
*PaymentProcessorV2Web
They point Cobertura at PaymentProcessorV2Web and create a coverage.xml file. The file is picked up in Sonarqube. The file's "source" property points to PaymentProcessorV2Web but the failure message says:
java.lang.IllegalStateException: Can't create measure for line 467 for file 'D:/a6/pi_paymentprocessor/autobuild_v1_0/trunk/src/PaymentProcessorWeb/src/com/thehartford/consumer/ams/AbstractBaseProxy.java' with 459 lines
It appears the plugin is looking at PaymentProcessorWeb (not "V2") and failing. We've also set Sonarqube sonar.sources=PaymentProcessorV2Web and sonar.exclusions=PaymentProcessorWeb for what it's worth.
Any thoughts?
I've included the Sonarqube log, build.xml and coverage.xml.
log (1).txt
build.xml.txt
coverage.xml.txt
The text was updated successfully, but these errors were encountered: