Created
August 8, 2013 11:04
-
-
Save seanjreilly/6183722 to your computer and use it in GitHub Desktop.
Stack trace trying to use the rpm plugin with gradle 1.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILURE: Build failed with an exception. | |
* Where: | |
Script '/Users/sreilly/Projects/XXX/build.gradle' line: XXX | |
* What went wrong: | |
A problem occurred evaluating script. | |
> Could not create task of type 'Rpm'. | |
* Try: | |
Run with --info or --debug option to get more log output. | |
* Exception is: | |
org.gradle.api.GradleScriptException: A problem occurred evaluating script. | |
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54) | |
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:131) | |
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:82) | |
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:32) | |
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:54) | |
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114) | |
at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:39) | |
at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:248) | |
at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:136) | |
at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147) | |
at org.gradle.api.internal.project.DefaultProject_Decorated.invokeMethod(Unknown Source) | |
at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34) | |
at org.gradle.api.Script$apply.callCurrent(Unknown Source) | |
at build_3ouab9f94ai0o2vmdevnmfcojb.run(/Users/sreilly/Projects/TelefonicaInsightServices/smartsteps/rest/build.gradle:4) | |
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52) | |
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:131) | |
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38) | |
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25) | |
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34) | |
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55) | |
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:469) | |
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:77) | |
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:31) | |
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142) | |
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113) | |
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64) | |
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33) | |
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26) | |
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50) | |
at org.gradle.api.internal.Actions$RunnableActionAdapter.execute(Actions.java:171) | |
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201) | |
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174) | |
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170) | |
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139) | |
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) | |
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) | |
at org.gradle.launcher.Main.doAction(Main.java:48) | |
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) | |
at org.gradle.launcher.Main.main(Main.java:39) | |
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50) | |
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) | |
at org.gradle.launcher.GradleMain.main(GradleMain.java:26) | |
Caused by: org.gradle.api.tasks.TaskInstantiationException: Could not create task of type 'Rpm'. | |
at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:115) | |
at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:110) | |
at org.gradle.api.internal.AbstractTask.injectIntoNewInstance(AbstractTask.java:145) | |
at org.gradle.api.internal.project.taskfactory.TaskFactory.createTaskObject(TaskFactory.java:110) | |
at org.gradle.api.internal.project.taskfactory.TaskFactory.createTask(TaskFactory.java:70) | |
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory.createTask(AnnotationProcessingTaskFactory.java:100) | |
at org.gradle.api.internal.project.taskfactory.DependencyAutoWireTaskFactory.createTask(DependencyAutoWireTaskFactory.java:39) | |
at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:55) | |
at org.gradle.api.internal.project.AbstractProject.task(AbstractProject.java:912) | |
at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:248) | |
at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:136) | |
at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147) | |
at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:83) | |
at rpm_support_4gv6ia50cgflj085708i87sqoi.run(/Users/sreilly/Projects/TelefonicaInsightServices/smartsteps/rpm-support.gradle:3) | |
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52) | |
... 44 more | |
Caused by: java.lang.NoSuchMethodError: org.gradle.api.internal.file.copy.CopyActionImpl.<init>(Lorg/gradle/api/internal/file/FileResolver;Lorg/gradle/api/internal/file/copy/CopySpecVisitor;)V | |
at com.trigonic.gradle.plugins.rpm.Rpm$RpmCopyAction.<init>(Rpm.groovy:154) | |
at com.trigonic.gradle.plugins.rpm.Rpm.<init>(Rpm.groovy:62) | |
at com.trigonic.gradle.plugins.rpm.Rpm_Decorated.<init>(Unknown Source) | |
at org.gradle.api.internal.DependencyInjectingInstantiator.newInstance(DependencyInjectingInstantiator.java:62) | |
at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36) | |
at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:113) | |
... 58 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment