Reportgenerator: Report Generator Null Reference

Created on 28 May 2020  路  3Comments  路  Source: danielpalme/ReportGenerator

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.

bug duplicate

All 3 comments

Will have a look soon.

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'

Thanks, and sorry for the trouble.

Was this page helpful?
0 / 5 - 0 ratings