Skip to content
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

Plugin fails in Sonarqube 5.6.3 #12

Closed
rschaeferhig opened this issue Jul 13, 2017 · 2 comments
Closed

Plugin fails in Sonarqube 5.6.3 #12

rschaeferhig opened this issue Jul 13, 2017 · 2 comments
Assignees

Comments

@rschaeferhig
Copy link

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

@galexandre
Copy link
Owner

Hi @rschaeferhig,

I will have a look ASAP.

Regards

@rschaeferhig
Copy link
Author

Thanks @galexandre. Let me know if you need more info.

@galexandre galexandre self-assigned this Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants