Issue Type: Bug Bug
Affects Versions: current
Assignee: huybrechts
Components: template-project
Created: 04/Oct/12 3:14 PM
Description:

I have a template project setup, where project 1 (SCMTemplate) only defines Git SCM data (branch, URL, ...) and then project 2 (myproject) refers to that SCM data via "Use SCM from another project".

My problem is that now I dont seem to get any changelog anymore. Changes only states: No changes.

When checking the logs I find the following exception:

java.lang.NullPointerException
	at hudson.plugins.templateproject.ProxySCM.requiresWorkspaceForPolling(ProxySCM.java:124)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1365)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1335)
	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(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)

Looking at the sources, the only chance this could happen is that either getProject() or getSCM() is null.

Project: Jenkins
Priority: Major Major
Reporter: Rainer Burgstaller
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to