Community
Participate
Working Groups
Hi, I've encountered a weird problem today. The thing is that I configured a job to poll on git SCM every 5 minutes. But the Polling never happen. When I look at the Polling Log, it said "polling has not run yet". I bounced the server and the polling start to work. However, it only run once after the re-bounce. After some debugging I found that the "Hudson cron thread 1" thread throw an exception with thread being blocks. Below is a stack trace on the "Hudson cron thread". Apparently, this was due to one of a newer version of URL Change plugin, version 1.4-h-2. I disabled this URL Change plugin version and things work like a charm. However, filing this bug after a discussion with Winston. Per Winston, Cron thread should be recoverable if a particular poll fails. Thanks, David State: RUNNABLE Total blocked: 12 Total waited: 230 Stack trace: java.io.UnixFileSystem.getBooleanAttributes0(Native Method) java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) java.io.File.isDirectory(File.java:754) sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:65) sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) - locked sun.net.www.protocol.file.FileURLConnection@14b5281d java.net.URL.openStream(URL.java:1010) com.redfin.hudson.UrlChangeTrigger.run(UrlChangeTrigger.java:80) hudson.triggers.Trigger.checkTriggers(Trigger.java:236) hudson.triggers.Trigger$Cron.doRun(Trigger.java:185) hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:43) java.util.TimerThread.mainLoop(Timer.java:512) java.util.TimerThread.run(Timer.java:462)