org.sonar.runner.impl.RunnerException: Unable to execute Sonar

Stack Overflow | Han Jubel | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NullPointerException when analysing a Java project with SonarQube and when activating rules tracking quality issues in unit test source code

    Stack Overflow | 2 years ago | ErWaN
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project saga: null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.sonar.api.batch.rule.Checks.getField()
    2. SonarQube :: Plugin API
      Checks.addAnnotatedChecks
      1. org.sonar.api.batch.rule.Checks.getField(Checks.java:180)
      2. org.sonar.api.batch.rule.Checks.configureFields(Checks.java:167)
      3. org.sonar.api.batch.rule.Checks.instantiate(Checks.java:152)
      4. org.sonar.api.batch.rule.Checks.addAnnotatedChecks(Checks.java:127)
      4 frames
    3. org.sonar.plugins
      PythonSquidSensor.<init>
      1. org.sonar.plugins.python.PythonSquidSensor.<init>(PythonSquidSensor.java:72)
      1 frame
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    5. PicoContainer Core
      DefaultPicoContainer.getComponents
      1. org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
      2. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
      3. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
      4. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
      5. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
      6. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
      7. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
      8. org.picocontainer.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:605)
      9. org.picocontainer.DefaultPicoContainer.getComponents(DefaultPicoContainer.java:586)
      9 frames
    6. SonarQube :: Plugin API
      BatchExtensionDictionnary.selectMavenPluginHandlers
      1. org.sonar.api.platform.ComponentContainer.getComponentsByType(ComponentContainer.java:217)
      2. org.sonar.api.batch.BatchExtensionDictionnary.completeBatchExtensions(BatchExtensionDictionnary.java:104)
      3. org.sonar.api.batch.BatchExtensionDictionnary.getExtensions(BatchExtensionDictionnary.java:98)
      4. org.sonar.api.batch.BatchExtensionDictionnary.selectMavenPluginHandlers(BatchExtensionDictionnary.java:74)
      4 frames
    7. SonarQube
      ModuleScanContainer.doAfterStart
      1. org.sonar.batch.scan.maven.MavenPluginsConfigurator.execute(MavenPluginsConfigurator.java:48)
      2. org.sonar.batch.phases.PhaseExecutor.executeMavenPhase(PhaseExecutor.java:171)
      3. org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:105)
      4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:194)
      4 frames
    8. SonarQube :: Plugin API
      ComponentContainer.execute
      1. org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)
      2. org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)
      2 frames
    9. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:233)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:228)
      3. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:221)
      3 frames
    10. SonarQube :: Plugin API
      ComponentContainer.execute
      1. org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)
      2. org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)
      2 frames
    11. SonarQube
      TaskContainer.doAfterStart
      1. org.sonar.batch.scan.ScanTask.scan(ScanTask.java:64)
      2. org.sonar.batch.scan.ScanTask.execute(ScanTask.java:51)
      3. org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:125)
      3 frames
    12. SonarQube :: Plugin API
      ComponentContainer.execute
      1. org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)
      2. org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)
      2 frames
    13. SonarQube
      Batch.execute
      1. org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:173)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95)
      3. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
      3 frames
    14. SonarQube Runner - Batch
      IsolatedLauncher.execute
      1. org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    16. SonarQube Runner
      BatchLauncher$1.run
      1. org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
      2. org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
      2 frames
    17. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    18. SonarQube Runner
      Runner.execute
      1. org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
      2. org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
      3. org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
      4. org.sonar.runner.api.Runner.execute(Runner.java:100)
      4 frames
    19. org.sonar.runner
      Main.main
      1. org.sonar.runner.Main.executeTask(Main.java:70)
      2. org.sonar.runner.Main.execute(Main.java:59)
      3. org.sonar.runner.Main.main(Main.java:53)
      3 frames