I’m getting this error when running mvn clean verify sonar:sonar
:
Exception in thread "main" java.lang.StackOverflowError
at org.sonar.api.batch.fs.internal.DefaultInputComponent.equals(DefaultInputComponent.java:48)
at com.google.common.collect.SingletonImmutableBiMap.get(SingletonImmutableBiMap.java:56)
at com.google.common.collect.ImmutableListMultimap.get(ImmutableListMultimap.java:285)
at com.google.common.collect.ImmutableListMultimap.get(ImmutableListMultimap.java:55)
at org.sonar.scanner.scan.DefaultInputModuleHierarchy.children(DefaultInputModuleHierarchy.java:69)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:49)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
at org.sonar.scanner.scan.WorkDirectoriesInitializer.cleanAllWorkingDirs(WorkDirectoriesInitializer.java:50)
This happens with both version 3.6.0.1398 and version 3.7.0.1746 of the sonar-maven-plugin
. Is this a known issue? I searched but couldn’t find anything similar.