Status: Closed (View Workflow)
Windows CP, Git 1.1 Hudson 1.377
I get the following error when using the latest git plugin.
This prevents any build from starting
Started on Sep 23, 2010 9:03:14 AM
Using strategy: Default
[poll] Last Build : #539
[poll] Last Built Revision: Revision 1202a30ee369bd0ee69c006a20e4cc4d1e91e8ba (origin/master)
ERROR: Failed to record SCM polling
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- is related to
JENKINS-6126 ERROR: Failed to record SCM polling nullpointer exception when building on a slave while the number of executors on the master is set to 0
Integrated in plugins_hudson-git-plugin #28
JENKINS-7547 Fixed the problem with polling failing if the master has 0 executors but I'm having trouble getting 0 executors on master in unit tests
Andrew Bayer :
OK. Well for my part I rolledback to 1.0.1 and all works fine again. There is nothing that I badly needed in 1.1 so I will wait for a fix to this problem before upgrading again. I really don't want to have executors on the master.
Ah-ha - this is the same underlying problem as
JENKINS-6126 - it only shows up if the master has 0 executors. So one workaround for now is to just enable 1 executor on the master, if you can - I'll try to figure out a way to fix the real problem.
For what it's worth, what's confusing me here is that the change that's relevant here is one that's used in other plugins, such as the Mercurial plugin - we're just calling getEnvironment on the last build of the project, and in fact, we only get that far if there's been an earlier build in the first place.
This is strange - I can't seem to recreate it so far. Is this happening with the build on master or slave?
Also ran into this today, after upgrading to GitSCM 1.1 yesterday. Manual builds work fine, but polling is broken.
Same here, this is critical. I am getting the same problem on windows and on Linux.
The issue seems to be resolved using the git.hpi found on http://ci.hudson-labs.org/job/plugins_hudson-git-plugin/28/org.jvnet.hudson.plugins$git/ .
Thank u for your quick response.