[JIRA] (JENKINS-36592) Potential NPE in BlockedBecauseOfBuildInProgress#getDescription()
Title: Message Title Daniel Beck resolved as Fixed Fixed in 2.14 (2016/07/17) Jenkins / JENKINS-36592 Potential NPE in BlockedBecauseOfBuildInProgress#getDescription() Change By: Daniel Beck Status: In Progress 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-36592) Potential NPE in BlockedBecauseOfBuildInProgress#getDescription()
Title: Message Title Oleg Nenashev started work on JENKINS-36592 Change By: Oleg Nenashev 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-36592) Potential NPE in BlockedBecauseOfBuildInProgress#getDescription()
Title: Message Title Oleg Nenashev commented on JENKINS-36592 Re: Potential NPE in BlockedBecauseOfBuildInProgress#getDescription() https://github.com/jenkinsci/jenkins/pull/2448 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-36592) Potential NPE in BlockedBecauseOfBuildInProgress#getDescription()
Title: Message Title Oleg Nenashev assigned an issue to Oleg Nenashev Jenkins / JENKINS-36592 Potential NPE in BlockedBecauseOfBuildInProgress#getDescription() Change By: Oleg Nenashev Assignee: Oleg Nenashev 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-36592) Potential NPE in BlockedBecauseOfBuildInProgress#getDescription()
Title: Message Title Oleg Nenashev created an issue Jenkins / JENKINS-36592 Potential NPE in BlockedBecauseOfBuildInProgress#getDescription() Issue Type: Bug Assignee: Unassigned Components: core Created: 2016/Jul/12 5:31 AM Labels: concurrent npe Priority: Minor Reporter: Oleg Nenashev This NPE may happen in the case of race condition. 1) AbstractProject#getCauseOfBlockage() checks for non-concurrent running build in order to generate a cause of blockage 2) If the getCauseOfBlockage() happens in the context not synced with queue, after isLogUpdated() && !isConcurrentBuild() there may be a context switch. 3) Build may complete and get deleted before we actually call getLastBuild() in the code 4) If it happens, BlockedBecauseOfBuildInProgress may get null in the constructor 5) Then, BlockedBecauseOfBuildInProgress#getDescription() will start throwing NPEs Add Comment