Hi all,
after upgrading the sonar-java-plugin from 4.4.0.8066 to 4.6.0.8784 we encountered also an "Endless Loop" analysing a project (no other changes on SonarQube, the SonarQube and build Configuration or the projects source code.
The SonarQube SonarQube Version used: 6.1
The analysis was triggered in a maven build using the sonar-maven-plugin 3.2.
Binaries are available to the sonar scanner, the maven log does not indicate any differences between the sonar analysis with the 4.4 and 4.6 verion of the sonar plugin until it starts to endlessly report:
14:32:19 [INFO] 38/102 files analyzed, current file: *************************.java
I am not allowed to disclose the original source code. Please find attached 3 stack traces recordef for the the main thread while looping.
While the loop occurss deterministicly in the original build, I was not able to reproduce it by extracting the above mentioned java source file with mocked dependencies which would allow me to provide an example after some further obfuscation and removal of the original logic in it.
Regards,
Robert