java.lang.IllegalStateException: Metadata file is missing in analysis report

  • Sonar Server 8.2, Scanner 4.4.0.2170
  • java.lang.IllegalStateException: Metadata file is missing in analysis report
  • ran analysis with the following output:
INFO: CPD Executor CPD calculation finished (done) | time=55607ms
INFO: Analysis report generated in 280933ms, dir size=0 bytes
INFO: Analysis report compressed in 151574ms, zip size=22 bytes
INFO: Analysis report uploaded in 322ms
INFO: ANALYSIS SUCCESSFUL, you can browse https://mysonar/dashboard?id=rp-system
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://mysonar/api/ce/task?id=AXSSg-5xjmanPy3xLEj9
INFO: Analysis total time: 1:22:43.156 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:23:44.363s
INFO: Final Memory: 34M/124M
INFO: ------------------------------------------------------------------------```

Hi,

Welcome to the community!

Your title indicates an error, but your log snippet (properly code-formatted, woo hoo! :joy:) indicates success. Where are you seeing the error in your title?

 
Ann

Hi you are right… sorry this appeared in background tasks on the server for that project.

Hi,

Could you provide the error from the background task?

 
Ann