Thanks Brian!
On Wed, Sep 7, 2016 at 3:44 PM, Brian Stinson brian@bstinson.com wrote:
On Sep 07 13:56, Adriano Petrich wrote:
Hi folks
Retriggering a job or trying to trigger it from gerrit is not working
I'm getting a NullPointerException on
Caused by: java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.
GerritTriggerParameters.setOrCreateParameters( GerritTriggerParameters.java:447)
at com.sonyericsson.hudson.plugins.gerrit.trigger.
hudsontrigger.EventListener.createParameters(EventListener.java:263)
at com.sonyericsson.hudson.plugins.gerrit.trigger.
hudsontrigger.EventListener.schedule(EventListener.java:188)
at com.sonyericsson.hudson.plugins.gerrit.trigger.
hudsontrigger.GerritTrigger.retriggerThisBuild(GerritTrigger.java:849)
at com.sonyericsson.hudson.plugins.gerrit.trigger.
hudsontrigger.actions.RetriggerAction.doIndex(RetriggerAction.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(
Function.java:320)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:163) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(
Function.java:96)
at org.kohsuke.stapler.IndexDispatcher.dispatch(
IndexDispatcher.java:26)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
It looks related to the gerrit plugin. and arrfab found this bug https://issues.jenkins-ci.org/browse/JENKINS-31198 but I'm not sure on what to do.
Right now gating is broken because of this
Cheers,
Adriano
Hi All,
If you use the Gerrit retrigger functionality, you can mitigate this by running jjb over your specs or by opening the job config in the web interface and hitting save. This is needed to pick up some new fields in the job config that were added by plugin updates.
If you have any questions please let us know.
Cheers! --Brian _______________________________________________ Ci-users mailing list Ci-users@centos.org https://lists.centos.org/mailman/listinfo/ci-users