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