Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360666 - CVS polling fails with NullPointerException
Summary: CVS polling fails with NullPointerException
Status: RESOLVED WORKSFORME
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 367238
  Show dependency tree
 
Reported: 2011-10-12 09:50 EDT by Matt Heitz CLA
Modified: 2012-03-30 10:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.