The last analysis has failed: 782dc425-b9c0-49a4-9f33-5ad76cd1dc1f

The last analysis has failed. If it keeps on failing after several attempts, please contact us on Community forum and provide the following failing analysis ID: 782dc425-b9c0-49a4-9f33-5ad76cd1dc1f.

Hi,

Welcome to the community and thanks for this report!

It looks like automatic analysis is disabled for this project. I guess the first analysis kicked off and before it had a chance to finish it was disabled. You can either set up CI-based analysis, or turn it back on in Project Administration.

 
HTH,
Ann

It is CI-based though

Hi,

When/where did you see this error message? And have you successfully run a CI-based analysis since then?

 
Thx,
Ann

I saw it today both times I tried to run a CI-based analysis and I was not able to run it successfully. Would it help if I shared my repo?

Thanks for the support

Hi,

Can we have the full analysis log, please?

 
Thx,
Ann

This one?

Hi,

Thanks for the log pointer. Since this is Gradle, I need to ask you to add --info to the analysis command and run it again, please.

 
Thx,
Ann

Like this? I updated the workflow to run both build and sonar with --stacktrace and --info.

Hi,

Thanks for the log. This is what I was looking for. From it, I can see that your CI-based analysis is failing, and that this has nothing to do with automatic analysis. So we can completely ignore that initial ID you submitted.

So here’s your CI failure:

Could not find a default branch for project with key 'Crystal-Nest_hotbar_refill'. Make sure project exists.

So you need to make sure the analysis is fully configured, with the organization ID, project ID and analysis token.

 
HTH,
Ann

Thanks, this was a very stupid oversight on my side. Thanks again

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.