Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: ivytrigger-plugin, ivyttrigger, xtrigger-plugin
-
Labels:
-
Environment:Jenkins 1.526
ivyTrigger 0.30
-
Similar Issues:
Description
Using Jenkins 1.526 and ivyTrigger 0.30 polling always fails.
Checking the logs I see nothing.
Interestingly when enabling debug on the ivyTrigger for that job and disabling it afterwards (while allowing the job to build in-between) seems to solve the issue only on that particular job. When Jenkins is restarted the problem is back.
Exact output:
[IvyTrigger] - Poll with an Ivy script
Polling started on Sep 3, 2013 6:33:48 PM
Polling for the job XXXXXXXX
Looking nodes where the poll can be run.
Looking for the last built on node.
Polling on master.
[ERROR] - Polling error...
Checking /var/logs/jenkins/jenkins.log I see hundreds possibly thousands (we have many jobs that depend on the ivytrigger) of the following:
java.lang.NullPointerException
at org.jenkinsci.lib.xtrigger.AbstractTriggerByFullContext.checkIfModified(AbstractTriggerByFullContext.java:53)
at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger.java:199)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)