Hello,
I am trying to configure sonarcloud reports but getting java.lang.StackOverflowError.
Repository: GitHub
CI: GitHub actions
Language: java
SonarCloud url: https://sonarcloud.io/dashboard?id=Telecominfraproject_wlan-cloud-base
Error log:
26289
[INFO] 126 source files to be analyzed
26290
[ERROR] A stack overflow error occurred while analyzing file: 'base-models/src/main/java/com/telecominfraproject/wlan/core/model/json/flattener/ModelFlattener.java'
26291
java.lang.StackOverflowError: null
26292
at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:669)
Steps: run mvn clean verify sonar:sonar -Djvm.options=-Xss1m -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=*** -Dsonar.organization=telecominfraproject -Dsonar.projectKey=Telecominfraproject_wlan-cloud-base
I have tried to change Xss jvm option, neither default nor bigger value helped. I am using exactly same JDK build/version locally and in GitHub actions, however locally the issue is not reproducible.