A stack overflow error occurred while analyzing file

When executing scanner from the command line, the following error message appears:

 10:41:34.673 ERROR: A stack overflow error occurred while analyzing file: 'Test.java'
 java.lang.StackOverflowError: null
 at org.sonar.java.cfg.CFG.build(CFG.java:512)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:762)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)
 at org.sonar.java.cfg.CFG.buildBinaryExpression(CFG.java:763)
 at org.sonar.java.cfg.CFG.build(CFG.java:551)

  • Operating system: centos7.9
  • IDE name and flavor/env: cmd

SonarQube version: 10.5.1.90531

Hi,

Could we have the full analysis log, starting from the analysis command? We need the context of where in analysis this happened to understand it.

 
Thx,
Ann