Caused by: java.nio.file.AccessDeniedException

I cant find out the reason for Sonarqube analysis was being failed suddenly for all of my repositories. Can you please tell us the solution for this issue encountered.



We’re really not fans of log screenshots. They’re not the easiest to read. Next time, it would be best to copy/paste the entire analysis log, starting from the analysis command itself and ending with the last line of the stacktrace.

Nonetheless, what I can tell from your disjoint pair here is that there’s a problem creating a work directory. You probably need to check the permissions on that directory or if it doesn’t exist on the directory in which it would be created.