I have accidentlly deleted project from SonarQube and now getting error in

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

I have accidentlly deleted project from SonarQube and now getting error “Task failed with status FAILED, Error message: Compute Engine task main component key is null. Project with UUID xxxxxxxx must have been deleted since report was uploaded. Can not proceed. Finishing: publish results to sonarqube”, is there any way to get rid off this error.

Hi,

Welcome to the community!

Where are you seeing this error, and when? Is it that this deleted project is re-analyzed on a regular basis and each time you try you get this error? Or something else?

Also, what’s your version of SonarQube?

 
Ann

Hi Ann,
Thanks for checking…

The sonarqube job is integrated with Azure devops , and when i am publishing results to sonarqube getting this error.
This is happening every-time i try to publish results.

Sonarqube version: 4.4.0.2170

Hi,

Could you double-check that SonarQube version, please? You’ll find it in the page footer.

 
Ann

My bad…
Version: 8.0.0.29455

Hi,

Thanks for that.

It sounds like somehow your project only got partially deleted. I’m having a hard time imagining how that happened. Would you mind sharing the circumstances?

 
Ann

Also, do you have a stack trace for that error? Please check the log file ce.log.

A post was merged into an existing topic: Scan result shows “does not match the project or branch under which it was submitted” after upgrade from 7.x to 8.3 developer edition