Analysis fails with stack-trace

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube 9.9.0-Enterprise)
  • how is SonarQube deployed: Docker running under Jenkins
  • what are you trying to achieve: Java application under maven
  • what have you tried so far to achieve this
    Code is built in jdk8 docker container, followed by launch of jdk11 docker container to analyze; analysis generates stack-trace (attached)
08:13:15  [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar 
    (default-cli) on project udf-catalog-data-exporter: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer: 
    Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@3520963d-org.sonar.scanner.scan.filesystem.ProjectFileIndexer': 
    Unsatisfied dependency expressed through constructor parameter 7; 
        nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
        Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@3520963d-org.sonar.scanner.scan.filesystem.FileIndexer': 
            Unsatisfied dependency expressed through constructor parameter 6; 
                nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
                Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@3520963d-org.sonar.scanner.scan.filesystem.MetadataGenerator': 
                    Unsatisfied dependency expressed through constructor parameter 0; 
                        nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
                        Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@3520963d-org.sonar.scanner.scan.filesystem.StatusDetection': 
                        Unsatisfied dependency expressed through constructor parameter 0; 
                            nested exception is org.springframework.beans.factory.BeanCreationException: 
                            Error creating bean with name 'projectRepositories' defined in org.sonar.scanner.repository.ProjectRepositoriesProvider: 
                            Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: 
                            Failed to instantiate [org.sonar.scanner.repository.ProjectRepositories]: 
                            Factory method 'projectRepositories' threw exception; nested exception is java.lang.IllegalStateException: 
                            Fail to request url: https://sonarqube.company.com/batch/project.protobuf?key=com.company.udf.cde%3Audf-catalog-data-exporter&branch=with_inception1: 
                            timeout -> [Help 1]

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

Is there any more to that error? Perhaps a stacktrace?

And if not, could you add -X to your Maven command line & see if that yields any more detail?

 
Ann

This was due to an error on our part; please remove topic