groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CLOSE Dave <Dave.Cl...@us.thalesgroup.com>
Subject Re: How to interpret an error message
Date Fri, 19 Jun 2015 16:21:06 GMT
On 2015-06-18 21:21, Jochen Theodorou wrote:
> Am 19.06.2015 01:54, schrieb CLOSE Dave:
> [...]
>> ERROR: Failed to run DSL Script
>> groovy.lang.MissingMethodException: No signature of method:
>> Script1$_run_closure8.call() is applicable for argument types:
>> (Script1$_run_closure9, Script1$_run_closure10, Script1$_run_closure11,
>> Script1$_run_closure12, Script1$_run_closure13, Script1$_run_closure14,
>> Script1$_run_closure15) values: [Script1$_run_closure9@9202ce0,
>> Script1$_run_closure10@1f622ace, ...]
>
> that is a call on a closure using 7 other closures. the call originates
> from your script at line 30:
> [...]
>> 	at Script1.run(Script1.groovy:30)
> [...]
>> 	at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:84)
>> 	at
>> com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219)
>> 	at hudson.model.Run.execute(Run.java:1759)
>> 	at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155)
>> 	at hudson.model.ResourceController.execute(ResourceController.java:89)
>> 	at hudson.model.Executor.run(Executor.java:240)
>> 	at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
>>
>
> The script you have shown though, does not have 30 lines, nor do I see
> there a call using 7 arguments. So I assume the script you have shown is
> a condensed version of the one you really have?

Yes, it was abbreviated. Line 30 would be the second of the two "build" 
lines in my example. The reset of the script consists of several more 
"parallel" groups and the introductory code I included in my example.

I also don't see anything with seven arguments and don't think anything 
like that was intended. However, I can't speak to what the build-flow 
Jenkins plugin might do with my code.
-- 
Dave Close
"Technology has the shelf life of a banana." - Scott McNealy
Mime
View raw message