[JIRA] [p4] (JENKINS-24203) SCM Polling Throwing an exception

2014-09-30 Thread mr...@sjm.com (JIRA)














































Michael Rose
 commented on  JENKINS-24203


SCM Polling Throwing an exception















I am also seeing this problem. I am running Jenkins version 1.580 and P4 plugin version 1.0.14.


Started on Sep 29, 2014 11:19:01 PM
Polling SCM changes on sjmdev3
P4: Polling with client: jenkins-sjmdev3-velocity-alpha-complete
ERROR: Failed to record SCM polling for hudson.matrix.MatrixProject@2e8c04avelocity-alpha-complete
java.lang.NullPointerException
	at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1451)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1421)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1332)
	at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:701)



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [p4] (JENKINS-24203) SCM Polling Throwing an exception

2014-08-11 Thread rhum...@ravensoftware.com (JIRA)














































Ryan Hummer
 created  JENKINS-24203


SCM Polling Throwing an exception















Issue Type:


Bug



Affects Versions:


current



Assignee:


Paul Allen



Components:


p4



Created:


11/Aug/14 3:50 PM



Description:


I am seeing this from our SCM Polling:

Started on Aug 11, 2014 10:48:48 AM
Polling SCM changes on rsmsnbuild114
P4: Polling with client: null
ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@3b1c0865s1_databuild_ps4
com.perforce.p4java.exception.NullPointerError: Null client name passed to IServer.getClient()
	at com.perforce.p4java.impl.mapbased.server.Server.getClient(Server.java:2384)
	at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:57)
	at org.jenkinsci.plugins.p4.client.ClientHelper.init(ClientHelper.java:45)
	at org.jenkinsci.plugins.p4.PerforceScm.compareRemoteRevisionWith(PerforceScm.java:160)
	at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
	at hudson.scm.SCM.poll(SCM.java:373)
	at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1603)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1573)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1491)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

I first noticed it when looking at the polling log while a Job was in-flight.  I am now seeing it with no Job running.




Project:


Jenkins



Priority:


Major



Reporter:


Ryan Hummer

























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [p4] (JENKINS-24203) SCM Polling Throwing an exception

2014-08-11 Thread pal...@perforce.com (JIRA)














































Paul Allen
 commented on  JENKINS-24203


SCM Polling Throwing an exception















Please can you confirm if this is 1.0.10 or the development (SNAPSHOT) version.

There is a situation when polling could fail if there are no previous builds.  If you try the Build Now button, does the polling log report a fail on subsequent polling?

Thanks,
Paul



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [p4] (JENKINS-24203) SCM Polling Throwing an exception

2014-08-11 Thread rhum...@ravensoftware.com (JIRA)














































Ryan Hummer
 updated  JENKINS-24203


SCM Polling Throwing an exception
















Change By:


Ryan Hummer
(11/Aug/14 4:01 PM)




Description:


IamseeingthisfromourSCMPolling:{quote}StartedonAug11,201410:48:48AMPollingSCMchangesonrsmsnbuild114P4:Pollingwithclient:nullERROR:FailedtorecordSCMpollingforhudson.model.FreeStyleProject@3b1c0865[
s1_databuild_ps4
job
]com.perforce.p4java.exception.NullPointerError:NullclientnamepassedtoIServer.getClient()	atcom.perforce.p4java.impl.mapbased.server.Server.getClient(Server.java:2384)	atorg.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:57)	atorg.jenkinsci.plugins.p4.client.ClientHelper.init(ClientHelper.java:45)	atorg.jenkinsci.plugins.p4.PerforceScm.compareRemoteRevisionWith(PerforceScm.java:160)	athudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)	athudson.scm.SCM.poll(SCM.java:373)	athudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1603)	athudson.model.AbstractProject._poll(AbstractProject.java:1573)	athudson.model.AbstractProject.poll(AbstractProject.java:1491)	athudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)	athudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)	athudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)	atjava.util.concurrent.Executors$RunnableAdapter.call(UnknownSource)	atjava.util.concurrent.FutureTask.run(UnknownSource)	atjava.util.concurrent.ThreadPoolExecutor.runWorker(UnknownSource)	atjava.util.concurrent.ThreadPoolExecutor$Worker.run(UnknownSource)	atjava.lang.Thread.run(UnknownSource){quote}IfirstnoticeditwhenlookingatthepollinglogwhileaJobwasin-flight.IamnowseeingitwithnoJobrunning.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [p4] (JENKINS-24203) SCM Polling Throwing an exception

2014-08-11 Thread rhum...@ravensoftware.com (JIRA)














































Ryan Hummer
 commented on  JENKINS-24203


SCM Polling Throwing an exception















This is with 1.0.10.

When I clicked Build Now, the next polling came around and queued up a build.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.