sonar-cnes-report icon indicating copy to clipboard operation
sonar-cnes-report copied to clipboard

Can return only the first 10000 results.

Open hrishi072 opened this issue 1 year ago • 0 comments

Describe the bug

when i tried to run generate the docs it throughs the error. It is for the security hotspot

_2023-05-15 18:45:30 May 15, 2023 1:15:30 PM fr.cnes.sonar.report.providers.issues.AbstractIssuesProvider getIssuesByStatusAbstract 2023-05-15 18:45:30 WARNING: There are more than 10000 issues to export, but SonarQube is not able to provide all issues. Only the 10000 first issues are reported. Please, reduce the number of issues before retrying to export. 2023-05-15 18:45:33 May 15, 2023 1:15:33 PM fr.cnes.sonar.report.providers.issues.AbstractIssuesProvider getRawIssuesAbstract 2023-05-15 18:45:33 WARNING: There are more than 10000 issues to export, but SonarQube is not able to provide all issues. Only the 10000 first issues are reported. Please, reduce the number of issues before retrying to export. 2023-05-15 18:46:24 2023.05.15 13:16:24 ERROR web[AYgfdItoNS0XyIbDAAHb][o.s.s.w.WebServiceEngine] Fail to process request http://127.0.0.1:9000/api/cnesreport/report?key=ecs_tracking&branch=master&language=en_US&author=Administrator&token=squ_5658647dfdf6b2f7d971cdfc45d9783dd336eb57&enableDocx=true&enableMd=false&enableXlsx=false&enableCsv=false&enableConf=false&generation=Generate 2023-05-15 18:46:24 org.sonarqube.ws.client.HttpException: Error 400 on api/hotspots/search : {"errors":[{"msg":"Can return only the first 10000 results. 10500th result asked."}]}

User environment

Please complete the following information.

  • OS: [e.g. ubuntu 22.4]
  • SonarQube lts 9.9.1

hrishi072 avatar May 15 '23 13:05 hrishi072