sonar-cnes-report
sonar-cnes-report copied to clipboard
Error while generating report - {"errors":[{"msg":"For input string: \"_AFourReports.cshtml\""}]}
Describe the bug
A clear and concise description of what the bug is.
I'm running a report for a project with Dot Net Framework 4.6.1. While generating report it is showing error "{"errors":[{"msg":"For input string: "_AFourReports.cshtml""}]}" _AFourReports.cshtml is file in the project.
SonarQube version - 8.9 LTS CNES report version - 4.0
To reproduce
Steps to reproduce the behavior.
- Go to 'More'
- Click on 'CNES Report'
- Fill in the required data
- Click on Generate button
Expected behavior
Report Should be generated
Screenshots & log
User environment
Please complete the following information.
- OS: [e.g. Windows 10]
- .NET framenwork 4.6.1
- SonarQube 8.9 LTS
- CNES Report 4.0
Hi @AbhijitKhillari Sorry for the huge response time... but thanks for the feedback ! With these elements, I can't tell exactly what the problem was, but I would bet it's the filename (beginning with an underscore). Could you try to rename it just to check that, please ? Otherwise, I would need some SonarQube server logs to debug this precisely...
Hi @AbhijitKhillari I haven't been able to reproduce your error with plugin version 4.1.1 on SonarQube 8.9.8. I don't know if the latest of our releases fixes the problem, or if I just don't have enough data to full reproduce your situation....
Could you please provide some SonarQube server logs as requested previously ? Don't forget to remove sensitive data.