Cron thread throw an exception [message #1273737] |
Thu, 20 March 2014 09:14  |
Eclipse User |
|
|
|
Hi,
Today I removed the errors from logs, unfortunately I can't deal with one of the warnings
Mar 20, 2014 2:10:57 PM hudson.triggers.Trigger$Cron doRun
WARNING: Cron thread throw an exception
com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2263)
at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
at hudson.model.TopLevelItemsCache.get(TopLevelItemsCache.java:78)
at hudson.model.LazyTopLevelItem.item(LazyTopLevelItem.java:144)
at hudson.model.LazyTopLevelItem.hasPermission(LazyTopLevelItem.java:271)
at hudson.model.Hudson.getItems(Hudson.java:1303)
at hudson.model.Hudson.getItems(Hudson.java:223)
at hudson.model.Hudson.getAllItems(Hudson.java:1367)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:228)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:185)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:43)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2263)
at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
at hudson.model.TopLevelItemsCache.get(TopLevelItemsCache.java:78)
at hudson.model.LazyTopLevelItem.item(LazyTopLevelItem.java:144)
at hudson.model.LazyTopLevelItem.hasPermission(LazyTopLevelItem.java:271)
at hudson.model.Hudson.getItem(Hudson.java:2175)
at hudson.model.Job.onLoad(Job.java:329)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:325)
at hudson.model.BaseBuildableProject.onLoad(BaseBuildableProject.java:91)
at hudson.model.TopLevelItemsCache$1.load(TopLevelItemsCache.java:64)
at hudson.model.TopLevelItemsCache$1.load(TopLevelItemsCache.java:57)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
... 14 more
Caused by: java.lang.NullPointerException
at hudson.model.Job.getCascadingJobProperties(Job.java:694)
at hudson.model.Job.getAllProperties(Job.java:849)
at hudson.model.Job.onLoad(Job.java:362)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:325)
at hudson.model.BaseBuildableProject.onLoad(BaseBuildableProject.java:91)
at hudson.model.TopLevelItemsCache$1.load(TopLevelItemsCache.java:64)
at hudson.model.TopLevelItemsCache$1.load(TopLevelItemsCache.java:57)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
... 30 more
any idea?
|
|
|
|
|
|
Re: Cron thread throw an exception [message #1698330 is a reply to message #1697199] |
Sun, 14 June 2015 01:12  |
Eclipse User |
|
|
|
I recently ran into this problem, too. None of my cron-scheduled builds would run because a few of them were crashing the cron trigger. The offending builds were not even scheduled to run periodically, per se, but they did have the Github Pull Request Builder plugin enabled.
To find the offending jobs, I turned on logging for "hudson.triggers" using the instructions:
wiki.jenkins-ci.org/display/JENKINS/Logging
I set the log level to "ALL" and was able to quickly see the job(s) that were causing the exception.
I edited those jobs to remove the Github Pull Request Builder flag in the "Build Triggers" section.
Once the logs looked clean, my cron jobs started triggering again!
|
|
|
Powered by
FUDForum. Page generated in 0.06671 seconds