ERROR: Taint analysis was interrupted because of an unexpected error

Hello Thomas,

Thanks for reporting the issue and providing the log information.
Looking at these initial logs, I think there might be two issues here, that are not necessarily related.

  1. Regarding the coverage, I can see the following inside the logs:
Did not find any binary coverage files in the expected location.
Falling back on locating coverage files in the agent temp directory.
Searching for coverage files in D:\a\_temp
No coverage files found in the agent temp directory.

It looks like the scanner cannot find the expected coverage files for reporting. How exactly have you configured the coverage for your project? Have you followed the approach mentioned in this guide?

  1. Regarding the error reported in the logs: it seems there’s a bug somewhere in the analyzer, where it attempts to report an issue at a file location that does not exist. To understand why this happens, could you potentially share the logs with a higher level of verbosity (with the /d:sonar.verbose=true flag)?

Thanks.
Best,
-Christophe