Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360666

Summary: CVS polling fails with NullPointerException
Product: Community Reporter: Matt Heitz <mheitz>
Component: CI-JenkinsAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: sbouchet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 367238    

Description Matt Heitz CLA 2011-10-12 09:50:42 EDT
See https://hudson.eclipse.org/hudson/job/cbi-edt-nightly/scmPollLog/  It shows this error:

Started on Oct 12, 2011 9:01:06 AM
ERROR: Failed to record SCM polling
java.lang.NullPointerException
	at hudson.model.AbstractProject.poll(AbstractProject.java:1336)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Comment 1 Denis Roy CLA 2011-10-12 10:06:00 EDT
Something is seriously borked with the polling mechanism.  We consistently see this warning, yet there are no limits on the actual polling threads:

Current SCM Polling Activities
There are more SCM polling activities scheduled than handled, so the threads are not keeping up with the demands. Check if your polling is hanging, and/or increase the number of threads if necessary.

The following polling activities are currently in progress:
Project  ↓	Running for   
Xtext-nightly-HEAD
Comment 2 Matt Heitz CLA 2011-10-13 09:40:40 EDT
Until this is fixed I'll change my job to run at a predefined time and not poll for changes.
Comment 3 Bouchet Stéphane CLA 2011-10-21 04:31:30 EDT
Hi,
this is still happening with the latest hudson update to 2.1.0
Comment 4 Eclipse Webmaster CLA 2012-03-30 10:45:44 EDT
While we still have some issues with polling, they seem to be affecting the Git repos.

-M.