org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'.

JFrog JIRA | Evgeny Goldin | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I have a TeamCity configuration publishing Gradle artifacts to Artifactory. After upgrading to Gradle 1.0-m4 it now fails with {code} [02:50:07]: FAILURE: Build failed with an exception. [02:50:07]: * What went wrong: [02:50:07]: Execution failed for task ':artifactoryPublish'. [02:50:07]: Cause: org.gradle.api.artifacts.Configuration.getArtifacts()Ljava/util/Set; [02:50:07]: * Try: [02:50:07]: Run with --info or --debug option to get more log output. [02:50:07]: * Exception is: [02:50:07]: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'. [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:71) [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:48) [02:50:07]: at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55) [02:50:07]: at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52) [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42) [02:50:07]: at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:237) [02:50:07]: at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) [02:50:07]: BUILD FAILED [02:50:07]: at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) [02:50:07]: at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) [02:50:07]: Total time: 2 mins 9.265 secs [02:50:07]: at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) [02:50:07]: at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) [02:50:07]: at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155) [02:50:07]: at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109) [02:50:07]: at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:77) [02:50:07]: at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) [02:50:07]: at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) [02:50:07]: at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) [02:50:07]: at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) [02:50:07]: at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219) [02:50:07]: at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203) [02:50:07]: at org.gradle.launcher.Main.execute(Main.java:55) [02:50:07]: at org.gradle.launcher.Main.main(Main.java:40) [02:50:07]: at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:49) [02:50:07]: at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:31) [02:50:07]: at org.gradle.launcher.GradleMain.main(GradleMain.java:24) [02:50:07]: Caused by: java.lang.NoSuchMethodError: org.gradle.api.artifacts.Configuration.getArtifacts()Ljava/util/Set; [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.getDeployArtifactsProject(BuildInfoRecorderTask.java:568) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.collectDescriptorsAndArtifactsForUpload(BuildInfoRecorderTask.java:387) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.closeAndDeploy(BuildInfoRecorderTask.java:470) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.collectProjectBuildInfo(BuildInfoRecorderTask.java:374) [02:50:07]: at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158) [02:50:07]: at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask_Decorated.invokeMethod(Unknown Source) [02:50:07]: at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) [02:50:07]: at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129) [02:50:07]: at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:127) [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:63) [02:50:07]: ... 28 more [02:50:07]: Process exited with code 1 {code}

    JFrog JIRA | 6 years ago | Evgeny Goldin
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'.
  2. 0

    I have a TeamCity configuration publishing Gradle artifacts to Artifactory. After upgrading to Gradle 1.0-m4 it now fails with {code} [02:50:07]: FAILURE: Build failed with an exception. [02:50:07]: * What went wrong: [02:50:07]: Execution failed for task ':artifactoryPublish'. [02:50:07]: Cause: org.gradle.api.artifacts.Configuration.getArtifacts()Ljava/util/Set; [02:50:07]: * Try: [02:50:07]: Run with --info or --debug option to get more log output. [02:50:07]: * Exception is: [02:50:07]: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'. [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:71) [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:48) [02:50:07]: at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55) [02:50:07]: at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) [02:50:07]: at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52) [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42) [02:50:07]: at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:237) [02:50:07]: at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) [02:50:07]: BUILD FAILED [02:50:07]: at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) [02:50:07]: at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) [02:50:07]: Total time: 2 mins 9.265 secs [02:50:07]: at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) [02:50:07]: at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) [02:50:07]: at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155) [02:50:07]: at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:109) [02:50:07]: at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:77) [02:50:07]: at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) [02:50:07]: at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) [02:50:07]: at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) [02:50:07]: at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) [02:50:07]: at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219) [02:50:07]: at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203) [02:50:07]: at org.gradle.launcher.Main.execute(Main.java:55) [02:50:07]: at org.gradle.launcher.Main.main(Main.java:40) [02:50:07]: at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:49) [02:50:07]: at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:31) [02:50:07]: at org.gradle.launcher.GradleMain.main(GradleMain.java:24) [02:50:07]: Caused by: java.lang.NoSuchMethodError: org.gradle.api.artifacts.Configuration.getArtifacts()Ljava/util/Set; [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.getDeployArtifactsProject(BuildInfoRecorderTask.java:568) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.collectDescriptorsAndArtifactsForUpload(BuildInfoRecorderTask.java:387) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.closeAndDeploy(BuildInfoRecorderTask.java:470) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask.collectProjectBuildInfo(BuildInfoRecorderTask.java:374) [02:50:07]: at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158) [02:50:07]: at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93) [02:50:07]: at org.jfrog.gradle.plugin.artifactory.extractor.BuildInfoRecorderTask_Decorated.invokeMethod(Unknown Source) [02:50:07]: at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) [02:50:07]: at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129) [02:50:07]: at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:127) [02:50:07]: at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:63) [02:50:07]: ... 28 more [02:50:07]: Process exited with code 1 {code}

    JFrog JIRA | 6 years ago | Evgeny Goldin
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':artifactoryPublish'.
  3. 0

    Here is the Stacktrace. I got this when building using the grails-gradle plugin. 18:22:13.629 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. 18:22:13.629 [ERROR] [org.gradle.BuildExceptionReporter] 18:22:13.629 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 18:22:13.630 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':masoko:clean'. 18:22:13.631 [ERROR] [org.gradle.BuildExceptionReporter] > groovy/lang/GroovyObject 18:22:13.632 [ERROR] [org.gradle.BuildExceptionReporter] 18:22:13.632 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: 18:22:13.632 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':masoko:clean'. 18:22:13.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:68) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter$1.run(CacheLockHandlingTaskExecuter.java:34) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess$2.create(DefaultCacheAccess.java:200) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:172) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:198) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunningOperation(DefaultPersistentDirectoryStore.java:111) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCacheAccess.longRunningOperation(DefaultTaskArtifactStateCacheAccess.java:83) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter.execute(CacheLockHandlingTaskExecuter.java:32) 18:22:13.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55) 18:22:13.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57) 18:22:13.641 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:247) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:192) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:177) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:83) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:36) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23) 18:22:13.643 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67) 18:22:13.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExecuter$1.run(TaskCacheLockHandlingBuildExecuter.java:31) 18:22:13.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess$1.create(DefaultCacheAccess.java:111) 18:22:13.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:126) 18:22:13.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:109) 18:22:13.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:103) 18:22:13.644 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCacheAccess.useCache(DefaultTaskArtifactStateCacheAccess.java:79) 18:22:13.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExecuter.execute(TaskCacheLockHandlingBuildExecuter.java:29) 18:22:13.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61) 18:22:13.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23) 18:22:13.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67) 18:22:13.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) 18:22:13.645 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61) 18:22:13.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54) 18:22:13.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155) 18:22:13.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110) 18:22:13.646 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139) 18:22:13.647 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31) 18:22:13.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20) 18:22:13.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:48) 18:22:13.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45) 18:22:13.648 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:39) 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50) 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32) 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:24) 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoClassDefFoundError: groovy/lang/GroovyObject 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.launcher.RootLoader.oldFindClass(RootLoader.java:143) 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.launcher.RootLoader.loadClass(RootLoader.java:115) 18:22:13.649 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.launcher.GrailsLauncher.<init>(GrailsLauncher.java:70) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.gradle.plugin.GrailsTask.createLauncher(GrailsTask.groovy:107) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.gradle.plugin.GrailsTask.executeCommand(GrailsTask.groovy:56) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:196) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:102) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:99) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.gradle.plugin.GrailsTask_Decorated.invokeMethod(Unknown Source) 18:22:13.650 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) 18:22:13.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$4.execute(AnnotationProcessingTaskFactory.java:150) 18:22:13.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$4.execute(AnnotationProcessingTaskFactory.java:145) 18:22:13.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:477) 18:22:13.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:466) 18:22:13.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:60) 18:22:13.652 [ERROR] [org.gradle.BuildExceptionReporter] ... 53 more 18:22:13.652 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject 18:22:13.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.launcher.RootLoader.findClass(RootLoader.java:147) 18:22:13.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.grails.launcher.RootLoader.loadClass(RootLoader.java:119) 18:22:13.653 [ERROR] [org.gradle.BuildExceptionReporter] ... 68 more 18:22:13.653 [ERROR] [org.gradle.BuildExceptionReporter]

    Gradle Issues | 5 years ago | Steve Holmes
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':masoko:clean'. 18:22:13.632 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:68) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter$1.run(CacheLockHandlingTaskExecuter.java:34) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess$2.create(DefaultCacheAccess.java:200) 18:22:13.633 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:172) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:198) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunningOperation(DefaultPersistentDirectoryStore.java:111) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCacheAccess.longRunningOperation(DefaultTaskArtifactStateCacheAccess.java:83) 18:22:13.634 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter.execute(CacheLockHandlingTaskExecuter.java:32) 18:22:13.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55) 18:22:13.635 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57) 18:22:13.641 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42) 18:22:13.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:247)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.gradle.api.tasks.TaskExecutionException

      Execution failed for task ':artifactoryPublish'.

      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions()
    2. Gradle Core
      DefaultTaskGraphExecuter.executeTask
      1. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:71)
      2. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:48)
      3. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34)
      4. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:55)
      5. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57)
      6. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41)
      7. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
      8. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52)
      9. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42)
      10. org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:237)
      11. org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167)
      11 frames