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

Error while generating report - {"errors":[{"msg":"For input string: \"_AFourReports.cshtml\""}]} #312

Open
AbhijitKhillari opened this issue Mar 11, 2022 · 2 comments
Labels
bug Something isn't working investigation This issue is being investigated not reproduced This issue was not reproduced by dev team

Comments

@AbhijitKhillari
Copy link

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.

  1. Go to 'More'
  2. Click on 'CNES Report'
  3. Fill in the required data
  4. Click on Generate button

Expected behavior

Report Should be generated

Screenshots & log

image
image

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
@AbhijitKhillari AbhijitKhillari added the bug Something isn't working label Mar 11, 2022
@Sancretor
Copy link
Contributor

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...

@Sancretor Sancretor added the investigation This issue is being investigated label Apr 26, 2022
@Sancretor Sancretor added this to the 4.2.0 milestone Apr 26, 2022
@Sancretor
Copy link
Contributor

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.

@Sancretor Sancretor added the not reproduced This issue was not reproduced by dev team label May 4, 2022
@Sancretor Sancretor removed this from the 4.2.0 milestone May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigation This issue is being investigated not reproduced This issue was not reproduced by dev team
Projects
None yet
Development

No branches or pull requests

2 participants