I am migrating from Eclipse to Android Studio for an app.
I have the latest Android Studio and the latest SDK on a Windows 8 machine. I have restarted Android Studio many times, and always run it as administrator. The project has been cleaned many times. Building the project always generates the following error. I am wondering if anyone could offer some tips on the possible cause of this error:
11:07:49.631 [ERROR] [org.gradle.BuildExceptionReporter]
11:07:49.632 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:07:49.632 [ERROR] [org.gradle.BuildExceptionReporter]
11:07:49.632 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
11:07:49.632 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':..:androidLibrary:compileLint'.
11:07:49.633 [ERROR] [org.gradle.BuildExceptionReporter] > Unable to create lint output directory.
11:07:49.633 [ERROR] [org.gradle.BuildExceptionReporter]
11:07:49.633 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
11:07:49.633 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':..:androidLibrary:compileLint'.
11:07:49.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
11:07:49.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
11:07:49.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
11:07:49.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
11:07:49.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
11:07:49.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
11:07:49.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
11:07:49.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
11:07:49.636 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
11:07:49.636 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
11:07:49.636 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
11:07:49.636 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
11:07:49.637 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
11:07:49.637 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
11:07:49.638 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
11:07:49.638 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
11:07:49.639 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
11:07:49.639 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
11:07:49.640 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
11:07:49.640 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
11:07:49.641 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
11:07:49.641 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
11:07:49.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
11:07:49.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
11:07:49.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
11:07:49.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
11:07:49.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:43)
11:07:49.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:30)
11:07:49.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:119)
11:07:49.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
11:07:49.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
11:07:49.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:47)
11:07:49.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
11:07:49.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:35)
11:07:49.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24)
11:07:49.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33)
11:07:49.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:71)
11:07:49.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:69)
11:07:49.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.Swapper.swap(Swapper.java:38)
11:07:49.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:69)
11:07:49.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
11:07:49.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
11:07:49.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:70)
11:07:49.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
11:07:49.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonHygieneAction.execute(DaemonHygieneAction.java:39)
11:07:49.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
11:07:49.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:46)
11:07:49.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
11:07:49.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
11:07:49.650 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.GradleException: Unable to create lint output directory.
11:07:49.650 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$_createLintCompileTask_closure101.doCall(BasePlugin.groovy:1604)
11:07:49.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:548)
11:07:49.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:529)
11:07:49.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
11:07:49.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
11:07:49.652 [ERROR] [org.gradle.BuildExceptionReporter] ... 55 more
11:07:49.652 [ERROR] [org.gradle.BuildExceptionReporter]
What did it for me: "File" > "Invalidate Caches / Restart..."
I fixed it by deleting the "build" folder.
Related
I inherited a Jenkins job that uploads artifacts to the artifact server. I
had to move to a new artifact server box so I installed the latest version
of Nexus - 3.6.0-02. I pointed the old Jenkins job to a new artifact server
by updating the gradle.properties file (mavenServer and mavenReleases
properties have changed). Build.gradle file has uploadArchives task. All
servers are CentOS 7 boxes.
When the job runs, I get the following error:
16:27:03.623 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter] Adding reference: org.codehaus.plexus.PlexusContainer
16:27:03.670 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:null] Maven Ant Tasks version: 2.1.3
16:27:03.675 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:null] Loading Maven settings file: /tmp/gradle_empty_settings2523667867595338296.xml
16:27:03.837 [INFO] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:null] Deploying to http://myrepository.com:8081/repository/releases/
16:27:05.269 [ERROR] [system.err] Uploading: com/myfiles/6.0/myfile.jar to repository remote at http://myrepository.com:8081/repository/releases/
16:27:05.292 [ERROR] [system.err] Transferring 82562K from remote
16:27:06.832 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader#7e351d76 pairs: {PUT /repository/releases/com/myfiles/6.0/myfile.jar HTTP/1.1: null}{User-Agent: maven-artifact/3.0.4 (Java 1.8.0_51; Linux 2.6.32-642.1.1.el6.x86_64)}{Host: myrepository.com:8081}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}{Content-Length: 84543762}
16:27:06.838 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader#7e351d76 pairs: {PUT /repository/releases com/myfiles/6.0/myfile.jar HTTP/1.1: null}{User-Agent: maven-artifact/3.0.4 (Java 1.8.0_51; Linux 2.6.32-642.1.1.el6.x86_64)}{Host: myrepository.com:8081}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}{Content-Length: 84543762}
16:27:06.843 [ERROR] [system.err] Error writing to server
16:27:06.848 [INFO] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:null] An error has occurred while processing the Maven artifact tasks.
Diagnosis:
Error deploying artifact 'com.myfiles:myfile:jar': Error deploying artifact: Error transferring file
Error writing to server
16:27:06.852 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':uploadArchives'
16:27:06.853 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :uploadArchives FAILED
16:27:06.855 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :uploadArchives (Thread[main,5,main]) completed. Took 3.702 secs.
16:27:06.857 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 3.869 secs, idle: 0.012 secs
16:27:06.870 [ERROR] [org.gradle.BuildExceptionReporter]
16:27:06.872 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
16:27:06.873 [ERROR] [org.gradle.BuildExceptionReporter]
16:27:06.874 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
16:27:06.876 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':uploadArchives'.
16:27:06.878 [ERROR] [org.gradle.BuildExceptionReporter] > Could not publish configuration 'archives'
16:27:06.879 [ERROR] [org.gradle.BuildExceptionReporter] > Error deploying artifact 'com.myfiles:myfile:jar': Error deploying artifact: Error transferring file
16:27:06.880 [ERROR] [org.gradle.BuildExceptionReporter]
16:27:06.881 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
16:27:06.884 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':uploadArchives'.
16:27:06.885 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
16:27:06.885 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
16:27:06.886 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
16:27:06.886 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
16:27:06.887 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
16:27:06.888 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
16:27:06.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
16:27:06.889 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
16:27:06.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
16:27:06.891 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:306)
16:27:06.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
16:27:06.892 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
16:27:06.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
16:27:06.893 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
16:27:06.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
16:27:06.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
16:27:06.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
16:27:06.895 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
16:27:06.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
16:27:06.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
16:27:06.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
16:27:06.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
16:27:06.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
16:27:06.898 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
16:27:06.898 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
16:27:06.899 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
16:27:06.899 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
16:27:06.900 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
16:27:06.900 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
16:27:06.901 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
16:27:06.901 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
16:27:06.902 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169)
16:27:06.902 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
16:27:06.905 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
16:27:06.908 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
16:27:06.909 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
16:27:06.909 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
16:27:06.909 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
16:27:06.909 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
16:27:06.910 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
16:27:06.910 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33)
16:27:06.910 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
16:27:06.910 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
16:27:06.910 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
16:27:06.911 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
16:27:06.911 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.artifacts.PublishException: Could not publish configuration 'archives'
16:27:06.911 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.tasks.Upload.upload(Upload.java:66)
16:27:06.911 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
16:27:06.912 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218)
16:27:06.912 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
16:27:06.912 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
16:27:06.914 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
16:27:06.914 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
16:27:06.915 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
16:27:06.917 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
16:27:06.917 [ERROR] [org.gradle.BuildExceptionReporter] ... 44 more
16:27:06.918 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: Error deploying artifact 'com.myfiles:myfile:jar': Error deploying artifact: Error transferring file
16:27:06.918 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.ant.DeployTask.doExecute(DeployTask.java:144)
16:27:06.919 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.publication.maven.internal.ant.CustomDeployTask.doExecute(CustomDeployTask.java:39)
16:27:06.919 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:751)
16:27:06.921 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.publication.maven.internal.ant.AbstractMavenResolver.execute(AbstractMavenResolver.java:111)
16:27:06.921 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.publication.maven.internal.ant.AbstractMavenResolver.publish(AbstractMavenResolver.java:102)
16:27:06.921 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.publication.maven.internal.ant.AbstractMavenResolver.publish(AbstractMavenResolver.java:80)
16:27:06.922 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyPublisher.publish(DefaultIvyDependencyPublisher.java:46)
16:27:06.922 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.IvyBackedArtifactPublisher$1.execute(IvyBackedArtifactPublisher.java:79)
16:27:06.923 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.IvyBackedArtifactPublisher$1.execute(IvyBackedArtifactPublisher.java:54)
16:27:06.923 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Transformers$4.transform(Transformers.java:137)
16:27:06.924 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
16:27:06.924 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
16:27:06.925 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.IvyBackedArtifactPublisher.publish(IvyBackedArtifactPublisher.java:54)
16:27:06.925 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.tasks.Upload.upload(Upload.java:64)
16:27:06.925 [ERROR] [org.gradle.BuildExceptionReporter] ... 52 more
16:27:06.926 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Error transferring file
16:27:06.926 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
16:27:06.927 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.ant.DeployTask.doExecute(DeployTask.java:125)
16:27:06.927 [ERROR] [org.gradle.BuildExceptionReporter] ... 65 more
16:27:06.928 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring file
16:27:06.928 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:213)
16:27:06.928 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413)
16:27:06.929 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392)
16:27:06.929 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365)
16:27:06.930 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163)
16:27:06.930 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317)
16:27:06.931 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227)
16:27:06.931 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
16:27:06.931 [ERROR] [org.gradle.BuildExceptionReporter] ... 66 more
16:27:06.932 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.IOException: Error writing to server
16:27:06.932 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:185)
16:27:06.933 [ERROR] [org.gradle.BuildExceptionReporter] ... 73 more
16:27:06.933 [ERROR] [org.gradle.BuildExceptionReporter]
16:27:06.934 [LIFECYCLE] [org.gradle.BuildResultLogger]
16:27:06.934 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
16:27:06.935 [LIFECYCLE] [org.gradle.BuildResultLogger]
16:27:06.935 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 8.74 secs
16:27:06.937 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
16:27:06.937 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
16:27:06.940 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file '/opt/jenkins/workspace/myfiles/build.gradle' (/opt/jenkins/workspace/myfiles/caches/2.3/scripts/build_2kdsl5mebg0wnqmevtb6j1bcf/ProjectScript/buildscript).
16:27:06.943 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file '/opt/jenkins/workspace/myfiles/build.gradle' (/opt/jenkins/workspace/myfiles/caches/2.3/scripts/build_2kdsl5mebg0wnqmevtb6j1bcf/ProjectScript/no_buildscript).
16:27:06.946 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/opt/jenkins/workspace/myfiles/caches/2.3/plugin-resolution) was closed 0 times.
16:27:06.947 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache artifact cache (/opt/jenkins/workspace/myfiles/caches/modules-2) was closed 0 times.
16:27:06.949 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (/opt/jenkins/workspace/myfiles/.gradle/2.3/taskArtifacts/outputFileStates.bin)
16:27:06.951 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (/opt/jenkins/workspace/myfiles/.gradle/2.3/taskArtifacts/fileSnapshots.bin)
16:27:06.954 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (/opt/jenkins/workspace/myfiles/.gradle/2.3/taskArtifacts/taskArtifacts.bin)
16:27:06.956 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/opt/jenkins/workspace/myfiles/.gradle/2.3/taskArtifacts/fileHashes.bin)
16:27:06.959 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/opt/jenkins/workspace/myfiles/.gradle/2.3/taskArtifacts).
16:27:06.961 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 0, cache instances: 0, modules served from cache: 0, artifacts: 0
16:27:06.964 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 0 resolution results binary files in 0.0 secs
Notifying upstream projects of job completion
Finished: FAILURE
What could be the reason for this error? I'm completely new to maven/nexus.
Thank you.
Did you verify that credentials are the same ?
Did you verify that you can upload manually from Jenkins to the new Nexus server ?
I get the below error when I try to build the war using gradle.
The stack trace is below .
The error happens when I add a specific dependency to my war .Is there any way I can find out what is causing this issue ?
The dependency that I am trying to add has many transitive dependencies
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter]
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed w
ith an exception.
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter]
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter] Failed to capture snaps
hot of output files for task 'war' during up-to-date check.
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter] > Could not normalize p
ath for file 'D:\\distribution\combined\build\
libs\masters:qams-1.0.0.war'.
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter]
11:29:56.507 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.Unchecke
dIOException: Failed to capture snapshot of output files for task 'war' during u
p-to-date check.
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.AbstractFileSnapshotTaskStateChanges.createSnap
shotPreCheck(AbstractFileSnapshotTaskStateChanges.java:49)
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.OutputFilesTaskStateChanges.saveCurrent(OutputF
ilesTaskStateChanges.java:79)
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.AbstractFileSnapshotTaskStateChanges.snapshotAf
terTask(AbstractFileSnapshotTaskStateChanges.java:89)
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.OutputFilesTaskStateChanges.snapshotAfterTask(O
utputFilesTaskStateChanges.java:28)
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.CachingTaskStateChanges.snapshotAfterTask(Cachi
ngTaskStateChanges.java:84)
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.SummaryTaskStateChanges.snapshotAfterTask(Summa
ryTaskStateChanges.java:73)
11:29:56.508 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifa
ctStateImpl.afterTask(DefaultTaskArtifactStateRepository.java:134)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExec
uter.java:68)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter
.java:58)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySou
rceFilesTaskExecuter.java:52)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoA
ctionsExecuter.java:52)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter
.java:53)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOn
ceTaskExecuter.java:43)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(Default
TaskGraphExecuter.java:203)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(Default
TaskGraphExecuter.java:185)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(Abstra
ctTaskPlanExecutor.java:66)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPl
anExecutor.java:50)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
ternal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy
.java:54)
11:29:56.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
ternal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.a
pi.UncheckedIOException: Could not normalize path for file 'D:\M\combined\build\libs\masters:qams-1.0.0.war'.
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.FileNormaliser.normalise(FileNormaliser.java:90)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.AbstractFileResolver.resolve(AbstractFileResolver.java:82)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.AbstractFileResolver.resolve(AbstractFileResolver.java:62)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.collections.DefaultFileCollectionResolveContext$FileCollectionCo
nverter.convertInto(DefaultFileCollectionResolveContext.java:162)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.collections.DefaultFileCollectionResolveContext.doResolve(Defaul
tFileCollectionResolveContext.java:123)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.collections.DefaultFileCollectionResolveContext.resolveAsFileCol
lections(DefaultFileCollectionResolveContext.java:81)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.collections.DefaultFileCollectionResolveContext$FileCollectionCo
nverter.convertInto(DefaultFileCollectionResolveContext.java:146)
11:29:56.510 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.collections.DefaultFileCollectionResolveContext.doResolve(Defaul
tFileCollectionResolveContext.java:98)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.collections.DefaultFileCollectionResolveContext.resolveAsFileCol
lections(DefaultFileCollectionResolveContext.java:81)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.CompositeFileCollection.getSourceCollections(CompositeFileCollec
tion.java:162)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.CompositeFileCollection.getFiles(CompositeFileCollection.java:45
)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.state.OutputFilesCollectionSnapshotter.getRoots(Outpu
tFilesCollectionSnapshotter.java:71)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.state.OutputFilesCollectionSnapshotter.preCheck(Outpu
tFilesCollectionSnapshotter.java:66)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.changedetection.rules.AbstractFileSnapshotTaskStateChanges.createSnap
shotPreCheck(AbstractFileSnapshotTaskStateChanges.java:47)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] ... 18 more
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.IOEx
ception: The filename, directory name, or volume label syntax is incorrect
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.file.FileNormaliser.normalise(FileNormaliser.java:54)
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter] ... 31 more
11:29:56.511 [ERROR] [org.gradle.BuildExceptionReporter]
11:29:56.512 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:29:56.512 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
11:29:56.512 [LIFECYCLE] [org.gradle.BuildResultLogger]
This does not seem to be related to dependencies.
It more seems that you set masters:qams-1.0.0.war as name for the generated WAR file which is not a valid path on Windows as paths must not contain colons, except after the drive letter.
To point to the concrete error you need to provide your buildscript, but maybe this information is already enough for you, thus I post it as answer, not comment.
I am getting this error in gradle console when I remove the line --dontobfsucate from my proguard rule file. Otherwise I am able to successfully generate the apk.
I was previously facing this problem before My Previous Problem. But i was able to resolve that by options --stacktrace --debug.
I think I have removed redundant grade redundancies.
13:10:41.397 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
13:10:41.397 [ERROR] [org.gradle.BuildExceptionReporter]
13:10:41.397 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
13:10:41.397 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:transformClassesWithMultidexlistForRelease'.
13:10:41.398 [ERROR] [org.gradle.BuildExceptionReporter] > java.lang.UnsupportedOperationException (no error message)
13:10:41.398 [ERROR] [org.gradle.BuildExceptionReporter]
13:10:41.398 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
13:10:41.398 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithMultidexlistForRelease'.
13:10:41.398 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
13:10:41.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
13:10:41.400 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
I'm experiencing a strange problem when running "gradlew sonarqube" with proxy. I have sonarqube server installed (using 2 minutes quick installation guide) on a remote server with IP: x.12.11.18.
When running the "gradlew sonarqube" on my local Mac, I got the error below.
./gradlew sonarqube
:app:sonarqube
SonarQube server [http://x.12.11.18:9000] can not be reached
:app:sonarqube FAILED
FAILURE: Build failed with an exception.
However, if I comment out systemProp.http.proxyPort settings in gradle.properties file, the "gradlew sonarqube" passed. Not exactly sure what's the problem? Your help would be highly appreciated!
gradle.properties
systemProp.http.proxyHost=gateway1.xxxx
systemProp.http.proxyPort=8000 # If I comment out this line, the gradlew sonarqube would pass
systemProp.sonar.host.url=http://x.12.11.18:9000
snippet of exception stacktrace
22:12:34.255 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':app:sonarqube' is up-to-date
22:12:34.256 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':app:sonarqube' (up-to-date check took 0.001 secs) due to:
Task has not declared any outputs.
22:12:34.256 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':app:sonarqube'.
22:12:34.295 [DEBUG] [org.sonarqube.gradle.SonarQubeTask] cache: /Users/mobile/.sonar/ws_cache/http%3A%2F%2Fx.66.12.18%3A9000/global
22:12:34.327 [INFO] [org.sonarqube.gradle.SonarQubeTask] User cache: /Users/mobile/.sonar/cache
22:12:34.327 [DEBUG] [org.sonarqube.gradle.SonarQubeTask] Extract sonar-runner-batch in temp...
22:12:34.344 [DEBUG] [org.sonarqube.gradle.SonarQubeTask] Get bootstrap index...
22:12:34.344 [DEBUG] [org.sonarqube.gradle.SonarQubeTask] Download: http://x.66.12.18:9000/batch_bootstrap/index
22:13:34.575 [ERROR] [org.sonarqube.gradle.SonarQubeTask] SonarQube server [http://x.66.12.18:9000] can not be reached
22:13:34.578 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':app:sonarqube'
22:13:34.578 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:sonarqube FAILED
22:13:34.583 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :app:sonarqube (Thread[main,5,main]) completed. Took 1 mins 0.339 secs.
22:13:34.583 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 1 mins 0.339 secs, idle: 0.0 secs
22:13:34.592 [ERROR] [org.gradle.BuildExceptionReporter]
22:13:34.594 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
22:13:34.595 [ERROR] [org.gradle.BuildExceptionReporter]
22:13:34.595 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
22:13:34.595 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:sonarqube'.
22:13:34.595 [ERROR] [org.gradle.BuildExceptionReporter] > Unable to execute SonarQube
22:13:34.596 [ERROR] [org.gradle.BuildExceptionReporter]
22:13:34.596 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
22:13:34.597 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:sonarqube'.
22:13:34.598 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
22:13:34.598 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
22:13:34.598 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
22:13:34.598 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
22:13:34.599 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
22:13:34.599 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
22:13:34.599 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
22:13:34.599 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
22:13:34.599 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
22:13:34.600 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
22:13:34.600 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
22:13:34.600 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
22:13:34.600 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
22:13:34.600 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
22:13:34.600 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
22:13:34.601 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
22:13:34.602 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
22:13:34.602 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
22:13:34.602 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
22:13:34.602 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
22:13:34.602 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
22:13:34.602 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
22:13:34.603 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
22:13:34.603 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
22:13:34.603 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
22:13:34.603 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
22:13:34.603 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
22:13:34.604 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
22:13:34.604 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
22:13:34.604 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
22:13:34.604 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
22:13:34.604 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
22:13:34.605 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
22:13:34.605 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
22:13:34.605 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
22:13:34.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
22:13:34.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
22:13:34.606 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
22:13:34.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
22:13:34.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
22:13:34.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
22:13:34.607 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
22:13:34.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
22:13:34.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
22:13:34.608 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
22:13:34.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
22:13:34.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
22:13:34.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33)
22:13:34.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
22:13:34.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
22:13:34.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
22:13:34.610 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
22:13:34.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
22:13:34.612 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
22:13:34.613 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
22:13:34.620 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.sonar.runner.impl.RunnerException: Unable to execute SonarQube
22:13:34.620 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:100)
22:13:34.620 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:87)
22:13:34.621 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:87)
22:13:34.621 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:83)
22:13:34.621 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.api.EmbeddedRunner.doStart(EmbeddedRunner.java:249)
22:13:34.622 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.api.EmbeddedRunner.start(EmbeddedRunner.java:187)
22:13:34.622 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.api.EmbeddedRunner.start(EmbeddedRunner.java:182)
22:13:34.622 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonarqube.gradle.SonarQubeTask.run(SonarQubeTask.java:83)
22:13:34.622 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
22:13:34.623 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
22:13:34.623 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
22:13:34.624 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
22:13:34.624 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
22:13:34.624 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
22:13:34.626 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
22:13:34.626 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
22:13:34.626 [ERROR] [org.gradle.BuildExceptionReporter] ... 60 more
22:13:34.627 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.IllegalStateException: Fail to download libraries from server
22:13:34.627 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.Jars.downloadFiles(Jars.java:93)
22:13:34.627 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.Jars.download(Jars.java:70)
22:13:34.627 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.JarDownloader.download(JarDownloader.java:40)
22:13:34.627 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:91)
22:13:34.627 [ERROR] [org.gradle.BuildExceptionReporter] ... 75 more
22:13:34.628 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.net.SocketTimeoutException: timeout
22:13:34.628 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.Okio$3.newTimeoutException(Okio.java:207)
22:13:34.628 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.AsyncTimeout.exit(AsyncTimeout.java:261)
22:13:34.629 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.AsyncTimeout$2.read(AsyncTimeout.java:215)
22:13:34.629 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.RealBufferedSource.indexOf(RealBufferedSource.java:306)
22:13:34.629 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.RealBufferedSource.indexOf(RealBufferedSource.java:300)
22:13:34.629 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:196)
22:13:34.629 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
22:13:34.630 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:79)
22:13:34.630 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:909)
22:13:34.630 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.internal.http.HttpEngine.access$300(HttpEngine.java:93)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:894)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:748)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.Call.getResponse(Call.java:277)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:234)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.Call.getResponseWithInterceptorChain(Call.java:196)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okhttp.Call.execute(Call.java:79)
22:13:34.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.ServerConnection.callUrl(ServerConnection.java:184)
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.ServerConnection.downloadString(ServerConnection.java:121)
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.ServerConnection.tryServerFirst(ServerConnection.java:148)
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.ServerConnection.download(ServerConnection.java:112)
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.impl.Jars.downloadFiles(Jars.java:78)
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] ... 78 more
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.net.SocketTimeoutException: Read timed out
22:13:34.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.Okio$2.read(Okio.java:139)
22:13:34.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.runner.okio.AsyncTimeout$2.read(AsyncTimeout.java:211)
22:13:34.633 [ERROR] [org.gradle.BuildExceptionReporter] ... 96 more
22:13:34.633 [ERROR] [org.gradle.BuildExceptionReporter]
22:13:34.633 [LIFECYCLE] [org.gradle.BuildResultLogger]
22:13:34.633 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
22:13:34.633 [LIFECYCLE] [org.gradle.BuildResultLogger]
22:13:34.634 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 1 mins 8.819 secs
22:13:34.643 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_settings class cache for settings file '/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/settings.gradle' (/Users/mobile/.gradle/caches/2.8/scripts/settings_cxca5ys821jg8mocwphns8sid/cp_settings).
22:13:34.644 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on settings class cache for settings file '/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/settings.gradle' (/Users/mobile/.gradle/caches/2.8/scripts/settings_cxca5ys821jg8mocwphns8sid/settings).
22:13:34.644 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/build.gradle' (/Users/mobile/.gradle/caches/2.8/scripts/build_bh5kxa31ddennp2ltaxoqv8t9/cp_proj).
22:13:34.644 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/build.gradle' (/Users/mobile/.gradle/caches/2.8/scripts/build_bh5kxa31ddennp2ltaxoqv8t9/proj).
22:13:34.645 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/app/build.gradle' (/Users/mobile/.gradle/caches/2.8/scripts/build_22tm7r8h4l07b1mhzsi3thzrn/cp_proj).
22:13:34.645 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/app/build.gradle' (/Users/mobile/.gradle/caches/2.8/scripts/build_22tm7r8h4l07b1mhzsi3thzrn/proj).
22:13:34.652 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache task history cache (/Users/mobile/Library/Application Support/Go Agent/pipelines/aegis-android-pr/feature2/.gradle/2.8/taskArtifacts) was closed 0 times.
22:13:34.653 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 99, cache instances: 6, modules served from cache: 628, artifacts: 140
22:13:34.654 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/Users/mobile/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
22:13:34.655 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/Users/mobile/.gradle/caches/modules-2/metadata-2.16/artifact-at-repository.bin)
22:13:34.655 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-artifacts.bin (/Users/mobile/.gradle/caches/modules-2/metadata-2.16/module-artifacts.bin)
22:13:34.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/Users/mobile/.gradle/caches/modules-2).
22:13:34.657 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
22:13:34.658 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 16 (avg: 0.001 secs, total: 0.024 secs)
22:13:34.658 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.001 secs
22:13:34.658 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/Users/mobile/.gradle/caches/2.8/plugin-resolution) was closed 0 times.
22:13:34.659 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
22:13:34.659 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
You should bypass proxy for your Sonar address. In gradle.properties:
systemProp.http.nonProxyHosts=x.12.11.18
All of sudden I am seeing cargoRunLocal task fail for my gradle-cargo-plugin based project. I cant see why. I have not changed my gradle config AFAIK. Anyone have suggestions?
[LIFECYCLE] [class org.gradle.TaskExecutionLogger] :my-proj-ear:cargoRunLocal FAILED
[INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :my-proj-ear:cargoRunLocal (Thread[main,5,main]) completed. Took 1.528 secs.
[DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 2.477 secs, idle: 0.0020 secs
[ERROR] [org.gradle.BuildExceptionReporter]
[ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
[ERROR] [org.gradle.BuildExceptionReporter]
[ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
[ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':my-proj-ear:cargoRunLocal'.
[ERROR] [org.gradle.BuildExceptionReporter] > cargo doesn't support the nested "mkdir" element.
[ERROR] [org.gradle.BuildExceptionReporter]
[ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
[ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':my-proj-ear:cargoRunLocal'.
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:155)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:152)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:33)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:100)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:94)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:94)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
[ERROR] [org.gradle.BuildExceptionReporter] Caused by: : cargo doesn't support the nested "mkdir" element.
[ERROR] [org.gradle.BuildExceptionReporter] at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:371)
[ERROR] [org.gradle.BuildExceptionReporter] at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:204)
[ERROR] [org.gradle.BuildExceptionReporter] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:77)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:92)
[ERROR] [org.gradle.BuildExceptionReporter] at com.bmuschko.gradle.cargo.tasks.local.LocalCargoContainerTask.runAction(LocalCargoContainerTask.groovy:170)
[ERROR] [org.gradle.BuildExceptionReporter] at com.bmuschko.gradle.cargo.tasks.AbstractCargoContainerTask$_start_closure2.doCall(AbstractCargoContainerTask.groovy:92)
[ERROR] [org.gradle.BuildExceptionReporter] at com.bmuschko.gradle.cargo.tasks.AbstractCargoContainerTask$_start_closure2.doCall(AbstractCargoContainerTask.groovy)
[ERROR] [org.gradle.BuildExceptionReporter] at com.bmuschko.gradle.cargo.util.LoggingHandler.withAntLoggingListener(LoggingHandler.groovy:36)
[ERROR] [org.gradle.BuildExceptionReporter] at com.bmuschko.gradle.cargo.util.LoggingHandler$withAntLoggingListener.call(Unknown Source)
[ERROR] [org.gradle.BuildExceptionReporter] at com.bmuschko.gradle.cargo.tasks.AbstractCargoContainerTask.start(AbstractCargoContainerTask.groovy:91)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
[ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
[ERROR] [org.gradle.BuildExceptionReporter] ... 57 more
[ERROR] [org.gradle.BuildExceptionReporter] Caused by: The <cargo> type doesn't support the nested "mkdir" element.
[ERROR] [org.gradle.BuildExceptionReporter] at org.apache.tools.ant.IntrospectionHelper.throwNotSupported(IntrospectionHelper.java:509)
[ERROR] [org.gradle.BuildExceptionReporter] at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:361)
[ERROR] [org.gradle.BuildExceptionReporter] ... 75 more
[ERROR] [org.gradle.BuildExceptionReporter]
[LIFECYCLE] [org.gradle.BuildResultLogger]
[LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
I found the source of the problem to be that I had deleted the server config directory (in my case called 'test' rather the the usual 'default') under $JBOSS_ROOT/server/. Once I created this directory the problem went away. There should really be better error reporting for this case in gradle-cargo-plugin.