groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: How to interpret an error message
Date Fri, 19 Jun 2015 04:21:36 GMT
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?

bye blackdrag

-- 
Jochen "blackdrag" Theodorou
blog: http://blackdragsview.blogspot.com/


Mime
View raw message