StackOverflowError when using SonarHTML plugin


(Greg Bishop) #1

SonarQube: 7.4
SonarQube Gradle Plugin: 2.6.1
SonarHTML: 3.0.1


Execution failed for task ':sonarqube'.
> java.lang.StackOverflowError (no error message)

Steps to reproduce:

  1. Reinstall SonarHTML after upgrading to SonarQube 7.4 from SonarQube 7.3.
  2. Run scan using the gradle SonarQube plugin.

Everything worked just fine until I reinstalled SonarHTML. I had initially forgot to install it when we upgraded. No StackOverflowErrors prior to reinstalling the plugin. After reinstalling the SonarHTML the crashes started happening. I then uninstalled the SonarHTML plugin and the crashes stopped.

The only thing I’ve been able to do is remove SonarHTML. I have no been able to get it to work otherwise.

(Alexandre Gigleux) #4


That would be great to share the project or a reproducer so we can try to reproduce your problem on our side.

What are the Xmx and Xss values allocated to Gradle for this build?

Can you share the full logs of the execution of the “sonarqube” task?