danielpalme / ReportGenerator

ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
https://reportgenerator.io
Apache License 2.0
2.56k stars 279 forks source link

5.3.5 has broken the pipeline due to "New Exception" being thrown due to `rawName` #676

Closed Smurf-IV closed 2 months ago

Smurf-IV commented 2 months ago

Value cannot be null. (Parameter 'rawName')

"C:\Program Files\dotnet\dotnet.exe" d:\work\_tasks\reportgenerator_be803a55-9253-4895-a525-be570d86f161\5.3.5\tools\net6.0\ReportGenerator.dll -reports:d:\work\1\s/TestResults/**/*cobertura.xml -targetdir:d:\work\1\a/TestResults/ -reporttypes:HtmlInline_AzurePipelines_Light;Cobertura -sourcedirs: -historydir: -plugins: -assemblyfilters:+* -classfilters:+* -filefilters:+* -riskhotspotassemblyfilters:+* -riskhotspotclassfilters:+* -verbosity:Info -title: -tag:0.5.439.10 -license:
2024-06-03T11:04:23: Error during reading report 'd:\work\1\s\TestResults\CodeCoverageResults\07f17079-7388-4caa-9db6-e1e5a77a372a\sr_admin_CSR-Agent1_2024-06-03.11_02_27.cobertura.xml' (Size: 34.9MB): Value cannot be null. (Parameter 'rawName')
2024-06-03T11:04:25: Error during reading report 'd:\work\1\s\TestResults\CodeCoverageResults\sr_admin_CSR-Agent1_2024-06-03_11_02_07\In\CSR-Agent1\sr_admin_CSR-Agent1_2024-06-03.11_02_27.cobertura.xml' (Size: 34.9MB): Value cannot be null. (Parameter 'rawName')
2024-06-03T11:04:25: Writing report file 'd:\work\1\a/TestResults/Cobertura.xml'
2024-06-03T11:04:25: Writing report file 'd:\work\1\a/TestResults/index.html'

sr_admin_CSR-Agent1_2024-06-03.11_02_27.cobertura.zip

danielpalme commented 2 months ago

Thanks for reporting this. Will look into it as soon as possible!

danielpalme commented 2 months ago

Release 5.3.6 is now available. Could you please try again?

Smurf-IV commented 2 months ago

Release 5.3.6 is now available. Could you please try again?

I'll wait another day for the dev-ops to install it then give it a go....

jakubch1 commented 2 months ago

It is fixed. Thanks @danielpalme

Smurf-IV commented 2 months ago

Release 5.3.6 is now available. Could you please try again?

I'll wait another day for the dev-ops to install it then give it a go....

Fixed: Thanks image