Error Gradle 2.7 Calling org.sonarQube plugin - Unable to register extension org.sonar.plugins.csharp.ndeps.sensor.NDepsSensor

sonarqube
plugins

(NIC) #1

Hi

I am having this error while running the sonarqube plugin for gradle, “Unable to register extension org.sonar.plugins.csharp.ndeps.sensor.NDepsSensor”.
Any suggestions?
Have tried to copy the jar org/codehaus/sonar-plugins/dotnet/csharp/sonar-csharp-ndeps-plugin/1.4 directly to my gradle lib folder this did not help.
Thanks

15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ‘:sonarqube’.
15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] > Unable to register extension org.sonar.plugins.csharp.ndeps.sensor.NDepsSensor

15:30:42]: Process exited with code 1
[15:30:42]: Gradle failure report
[15:30:42]: [Gradle failure report] 15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter]
[15:30:42]: [Gradle failure report] 15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
[15:30:42]: [Gradle failure report] 15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter]
[15:30:42]: [Gradle failure report] 15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
[15:30:42]: [Gradle failure report] 15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ‘:sonarqube’.
[15:30:42]: [Gradle failure report] 15:30:41.806 [ERROR] [org.gradle.BuildExceptionReporter] > Unable to register extension org.sonar.plugins.csharp.ndeps.sensor.NDepsSensor
[15:30:42]: [Gradle failure report] 15:30:41.807 [ERROR] [org.gradle.BuildExceptionReporter]
[15:30:42]: [Gradle failure report] 15:30:41.807 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
[15:30:42]: [Gradle failure report] 15:30:41.815 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:sonarqube’.
[15:30:42]: [Gradle failure report] 15:30:41.815 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
[15:30:42]: [Gradle failure report] 15:30:41.815 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
[15:30:42]: [Gradle failure report] 15:30:41.815 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
[15:30:42]: [Gradle failure report] 15:30:41.815 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
[15:30:42]: [Gradle failure report] 15:30:41.815 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:155)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:152)
[15:30:42]: [Gradle failure report] 15:30:41.816 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:33)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:100)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:94)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:94)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
[15:30:42]: [Gradle failure report] 15:30:41.817 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.IllegalStateException: Unable to register extension org.sonar.plugins.csharp.ndeps.sensor.NDepsSensor
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.addExtension(ComponentContainer.java:238)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.bootstrap.ExtensionInstaller.doInstall(ExtensionInstaller.java:72)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.bootstrap.ExtensionInstaller.install(ExtensionInstaller.java:52)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ModuleScanContainer.addExtensions(ModuleScanContainer.java:172)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ModuleScanContainer.doBeforeStart(ModuleScanContainer.java:92)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:130)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:243)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:238)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:228)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:122)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:67)
[15:30:42]: [Gradle failure report] 15:30:41.818 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:61)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at $Proxy51.execute(Unknown Source)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:274)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:165)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:152)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonarqube.gradle.SonarQubeTask.run(SonarQubeTask.java:84)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] … 57 more
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoClassDefFoundError: Lorg/sonar/api/resources/ProjectFileSystem;
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.injectors.AdaptingInjection$2.run(AdaptingInjection.java:217)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.injectors.AdaptingInjection.injectionFieldAnnotated(AdaptingInjection.java:209)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.injectors.AdaptingInjection.fieldAnnotatedInjectionAdapter(AdaptingInjection.java:188)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(AdaptingInjection.java:57)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(AbstractBehaviorFactory.java:44)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.behaviors.OptInCaching.createComponentAdapter(OptInCaching.java:45)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:536)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.DefaultPicoContainer.access$300(DefaultPicoContainer.java:84)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.picocontainer.DefaultPicoContainer$AsPropertiesPicoContainer.addComponent(DefaultPicoContainer.java:1149)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.addExtension(ComponentContainer.java:236)
[15:30:42]: [Gradle failure report] 15:30:41.819 [ERROR] [org.gradle.BuildExceptionReporter] … 90 more
[15:30:42]: [Gradle failure report] 15:30:41.820 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.ClassNotFoundException: org.sonar.api.resources.ProjectFileSystem
[15:30:42]: [Gradle failure report] 15:30:41.820 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
[15:30:42]: [Gradle failure report] 15:30:41.820 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
[15:30:42]: [Gradle failure report] 15:30:41.820 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
[15:30:42]: [Gradle failure report] 15:30:41.820 [ERROR] [org.gradle.BuildExceptionReporter] … 100 more
[15:30:42]: [Gradle failure report] 15:30:41.820 [ERROR] [org.gradle.BuildExceptionReporter]
[15:30:42]: Publishing internal artifacts
[15:30:42]: [Publishing internal artifacts] Sending build.finish.properties.gz file
[15:30:42]: Build finished

This is a copy of Sonar analysis with gradle 2.7 - Could not create plugin of type 'SonarQubePlugin' - since this is a new issue reposting here and resolving the other post.


(NIC) #2

Fixed by downgrading the csharp plugin on server side. This is a sonarQube plugin issue.