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

Report Generator Null Reference #350

Closed
jpedretti-ciandt opened this issue May 28, 2020 · 3 comments
Closed

Report Generator Null Reference #350

jpedretti-ciandt opened this issue May 28, 2020 · 3 comments

Comments

@jpedretti-ciandt
Copy link

We are using Azure devops for our Android project and noticed that the task PublishCodeCoverageResults couldn't load Jacoco's XML file with a null reference error. I opened an issue developer community in visual studio and they concluded that the problem is with the generator. Issue link.

133222-screen-shot-2020-05-06-at-170224

The XML that they used to investigate is attached too.

134263-testusqaunittestcoveragexml.zip

Thanks for the help.

@danielpalme
Copy link
Owner

Will have a look soon.

@danielpalme
Copy link
Owner

This issue is already fixed (see #300
The PublishCodeCoverageResults task uses an old version of ReportGenerator.

You could use use my Azure DevOps extension to generate the HTML report and disable the regeneration within the PublishCodeCoverageResults task with the following environment variable:

disable.coverage.autogenerate: 'true'

@jpedretti-ciandt
Copy link
Author

Thanks, and sorry for the trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants