Hi!
Source ode says I "should have the 'doFillXyzItems' method". I subclass 'Jenkins::Model::DefaultDescriptor' and add the so called method "doFillXyzItems"
When I load the config's job page, I got this stacktrace.
getConfigPage -> /debian_build_builder/config
Jun 07, 2016 11:53:35 AM hudson.ExpressionFactory2$JexlExpression evaluate
WARNING: Caught exception evaluating: descriptor.calcFillSettings(field,attrs) in /job/test/configure. Reason: java.lang.IllegalStateException: class org.jruby.proxy.hudson.model.Descriptor$Proxy0 doesn't have the doFillTarget_distributionItems method for filling a drop-down list
java.lang.IllegalStateException: class org.jruby.proxy.hudson.model.Descriptor$Proxy0 doesn't have the doFillTarget_distributionItems method for filling a drop-down list
at hudson.model.Descriptor.calcFillSettings(Descriptor.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[...]
I don't understand where I'm wrong.
Thanks,