An error has occurred. Please contact your administrator
KAILASH08 opened this issue · 2 comments
Describe the bug
While trying to generate a report using CNES report it gives error, {"errors":[{"msg":"An error has occurred. Please contact your administrator"}]}
To reproduce
Steps to reproduce the behavior.
- Go to 'More and select CNES Report'
- Click on 'Generate button to generate report'
- See error "{"errors":[{"msg":"An error has occurred. Please contact your administrator"}]}"
Expected behavior
It should generate the report._
Screenshots & log
Attached
User environment
Please complete the following information.
http://localhost:8080/extension/cnesreport/report
- OS: [e.g. Windows 11]
*sonar-cnes-report-3.2.2.jar
Unfortunately, the issue seems to be from your side since I'm not able to reproduce it. However, I can recommend you to upgrade at least the sonar-cnes-report version that you're using. It might help. Feel free to reopen a ticket if you get new error/log that can help us to resolve the problem if it comes with the plugin itself.
Dear @Topin2001 ,
Thank you. I could resolved the issue after upgrading SonarQube to sonarqube-9.9.3.79811 and using sonar-cnes-report-4.2.0.jar with it. Also used setx command in cmd to set SONAR_JAVA_PATH as per the requirement. Thank you.