[JIRA] (JENKINS-40356) NPE on p4 polling
Title: Message Title SCM/JIRA link daemon commented on JENKINS-40356 Re: NPE on p4 polling Code changed in jenkins User: Paul Allen Path: src/main/java/org/jenkinsci/plugins/p4/PerforceScm.java src/main/java/org/jenkinsci/plugins/p4/tagging/TagAction.java src/main/java/org/jenkinsci/plugins/p4/tasks/AbstractTask.java src/main/java/org/jenkinsci/plugins/p4/workspace/Expand.java src/main/java/org/jenkinsci/plugins/p4/workspace/Workspace.java src/test/java/org/jenkinsci/plugins/p4/client/JenkinsfileTest.java http://jenkins-ci.org/commit/p4-plugin/db88c2c56d15af86bf2fc691fc29559dd44fabec Log: Create syncID to track syncs when polling. Original design used the client name to track the sync from previous builds, however as polling is on the master if NODE_NAME is used it breaks with slaves. JENKINS-40356 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title SCM/JIRA link daemon commented on JENKINS-40356 Re: NPE on p4 polling Code changed in jenkins User: Paul Allen Path: src/main/java/org/jenkinsci/plugins/p4/PerforceScm.java http://jenkins-ci.org/commit/p4-plugin/bb7a23cdf5056ffa1c89645141e1c2b749c547a9 Log: Prevent NPE on polling if no previous builds. JENKINS-40356 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Paul Allen started work on JENKINS-40356 Change By: Paul Allen Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Paul Allen updated JENKINS-40356 Jenkins / JENKINS-40356 NPE on p4 polling Change By: Paul Allen Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Paul Allen updated JENKINS-40356 Ready for release Jenkins / JENKINS-40356 NPE on p4 polling Change By: Paul Allen Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Paul Allen commented on JENKINS-40356 Re: NPE on p4 polling Code fixed in change: https://swarm.workshop.perforce.com/changes/21270 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Matthew Hall commented on JENKINS-40356 Re: NPE on p4 polling Polling appears to work fine with the Pipeline jobs, but with the Freestyle Project, it appears broken. This seems odd. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Matthew Hall updated an issue Jenkins / JENKINS-40356 NPE on p4 polling Change By: Matthew Hall {noformat}Started on Dec 9, 2016 4:47:00 PMP4: Polling on: master with:build-master-b-anonymizer... p4 client -o build-master-b-anonymizer +... p4 info +P4 Task: establishing connection server: p4build.engr .tivo.com :1666... node: jmtest .tivo.com P4 Task: attempt: 1P4 Task: failed: java.lang.NullPointerExceptionP4 Task: failed: java.lang.NullPointerExceptionFATAL: AbortedDone. Took 4.6 secNo changes{noformat} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Matthew Hall edited a comment on JENKINS-40356 Re: NPE on p4 polling This is from the jenkins.log : {noformat}Dec 09, 2016 4:51:01 PM org.jenkinsci.plugins.p4.tasks.AbstractTask tryTaskSEVERE: P4 Task: attempt: 1java.lang.NullPointerException at org.jenkinsci.plugins.p4.client.ClientHelper.listHaveChanges(ClientHelper.java:1034) at org.jenkinsci.plugins.p4.tasks.PollTask.task(PollTask.java:52) at org.jenkinsci.plugins.p4.tasks.AbstractTask.tryTask(AbstractTask.java:209) at org.jenkinsci.plugins.p4.tasks.PollTask.invoke(PollTask.java:41) at org.jenkinsci.plugins.p4.tasks.PollTask.invoke(PollTask.java:25) at hudson.FilePath.act(FilePath.java:1018) at hudson.FilePath.act(FilePath.java:996) at org.jenkinsci.plugins.p4.PerforceScm.pollWorkspace(PerforceScm.java:352) at org.jenkinsci.plugins.p4.PerforceScm.compareRemoteRevisionWith(PerforceScm.java:297) at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391) at hudson.scm.SCM.poll(SCM.java:408) at hudson.model.AbstractProject._poll(AbstractProject.java:1460) at hudson.model.AbstractProject.poll(AbstractProject.java:1363) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Dec 09, 2016 4:51:04 PM org.jenkinsci.plugins.p4.tasks.AbstractTask tryTaskWARNING: P4 Task: failed: java.lang.NullPointerException{noformat} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-40356) NPE on p4 polling
Title: Message Title Matthew Hall commented on JENKINS-40356 Re: NPE on p4 polling Dec 09, 2016 4:51:01 PM org.jenkinsci.plugins.p4.tasks.AbstractTask tryTask SEVERE: P4 Task: attempt: 1 java.lang.NullPointerException at org.jenkinsci.plugins.p4.client.ClientHelper.listHaveChanges(ClientHelper.java:1034) at org.jenkinsci.plugins.p4.tasks.PollTask.task(PollTask.java:52) at org.jenkinsci.plugins.p4.tasks.AbstractTask.tryTask(AbstractTask.java:209) at org.jenkinsci.plugins.p4.tasks.PollTask.invoke(PollTask.java:41) at org.jenkinsci.plugins.p4.tasks.PollTask.invoke(PollTask.java:25) at hudson.FilePath.act(FilePath.java:1018) at hudson.FilePath.act(FilePath.java:996) at org.jenkinsci.plugins.p4.PerforceScm.pollWorkspace(PerforceScm.java:352) at org.jenkinsci.plugins.p4.PerforceScm.compareRemoteRevisionWith(PerforceScm.java:297) at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391) at hudson.scm.SCM.poll(SCM.java:408) at hudson.model.AbstractProject._poll(AbstractProject.java:1460) at hudson.model.AbstractProject.poll(AbstractProject.java:1363) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Dec 09, 2016 4:51:04 PM org.jenkinsci.plugins.p4.tasks.AbstractTask tryTask WARNING: P4 Task: failed: java.lang.NullPointerException Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-40356) NPE on p4 polling
Title: Message Title Matthew Hall updated an issue Jenkins / JENKINS-40356 NPE on p4 polling Change By: Matthew Hall Environment: jdk 1.8.0_92, centos 5.8 jenkins master , p4 plugin 1.4.11 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-40356) NPE on p4 polling
Title: Message Title Matthew Hall created an issue Jenkins / JENKINS-40356 NPE on p4 polling Issue Type: Bug Assignee: Unassigned Components: p4-plugin Created: 2016/Dec/10 12:47 AM Environment: jdk 1.8.0_92, centos 5.8 jenkins master Priority: Critical Reporter: Matthew Hall Started on Dec 9, 2016 4:47:00 PM P4: Polling on: master with:build-master-b-anonymizer ... p4 client -o build-master-b-anonymizer + ... p4 info + P4 Task: establishing connection. ... server: p4build.engr.tivo.com:1666 ... node: jmtest.tivo.com P4 Task: attempt: 1 P4 Task: failed: java.lang.NullPointerException P4 Task: failed: java.lang.NullPointerException FATAL: Aborted Done. Took 4.6 sec No changes Add Comment