The last analysis has failed: For input string: "Unknown"

Hi,
We analyze our projects with the sonarqube gradle plugin, called from Jenkins, with ALM being Bitbucket Cloud.

For some time now, we have random analysis failures with the following error message on the sonarcloud background task:

For input string: “Unknown”.

The stange thing is that the gradle sonarqube task ends successfully with the following log:

Analysis report uploaded in 228ms
ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?.
Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
More about the report processing at https://sonarcloud.io/api/ce/task?id=
Analysis total time: 45.776 s
:sonarqube (Thread[Execution worker for ‘:’ Thread 7,5,main]) completed. Took 1 mins 5.042 secs.

I do not understand these failures and the error message is not helping. Could you please help me debugging these failures?
Best regards,

Chloé

Hi @chloe.desdouits and welcome to our Community!

Could you please provide the analysis id and the execution date for one of these failing with the error message?

Hi @Alexandre_Holzhey ,

Thanks for investigating the issue!
Here is an example of a failing task:


The ID is: AXUHRPVG_PIoWXy_LmeX

Thanks for the information! We are investigating this issue and i will provide feedback as soon as possible.

Hi @chloe.desdouits, could you please try it again? Waiting for your feedback! :slight_smile:

1 Like

Hi @Alexandre_Holzhey ,
It seems to work perfectly fine now, thanks a lot for the fix!
Best regards,
Chloé

1 Like