[JIRA] [workflow-plugin] (JENKINS-30759) NPE from PlaceholderTask.finish

0 views
Skip to first unread message

anshu@multicorewareinc.com (JIRA)

unread,
Dec 8, 2015, 12:05:02 PM12/8/15
to jenkinsc...@googlegroups.com
Anshu Arya updated an issue
 
Jenkins / Bug JENKINS-30759
NPE from PlaceholderTask.finish
Change By: Anshu Arya
Summary: NPE from PlaceholderTask.finish  when running many concurrent builds
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

anshu@multicorewareinc.com (JIRA)

unread,
Dec 8, 2015, 12:07:01 PM12/8/15
to jenkinsc...@googlegroups.com
Anshu Arya commented on Bug JENKINS-30759
 
Re: NPE from PlaceholderTask.finish

Renamed the bug from "NPE from PlaceholderTask.finish when running many concurrent builds" to just "NPE from PlaceholderTask.finish". It is easier to re-create with many concurrent builds, because it is random, but I have observed it with just a single build as well.

jglick@cloudbees.com (JIRA)

unread,
Jan 22, 2016, 4:26:03 PM1/22/16
to jenkinsc...@googlegroups.com
Jesse Glick started work on Bug JENKINS-30759
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

unread,
Jan 22, 2016, 4:26:05 PM1/22/16
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-30759
 
Re: NPE from PlaceholderTask.finish

I sometimes see what I think is a related bug:

java.lang.NullPointerException
	at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:485)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:381)

jglick@cloudbees.com (JIRA)

unread,
Jan 22, 2016, 4:43:03 PM1/22/16
to jenkinsc...@googlegroups.com
 
Re: NPE from PlaceholderTask.finish

Or correspondingly from a test:

=== Starting restarted(org.jenkinsci.plugins.workflow.steps.TimeoutStepTest)
Unblocking restarted/1 as success
[restarted #1] Resuming build
[restarted #1] [Pipeline] } //timeout
[restarted #1] [Pipeline] Enforce time limit : End
… hudson.model.Executor finish1
SEVERE: Executor threw an exception
java.lang.AssertionError: no entry for … among []
	at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:481)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:381)

scm_issue_link@java.net (JIRA)

unread,
Jan 25, 2016, 1:33:02 PM1/25/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon resolved as Fixed
Change By: SCM/JIRA link daemon
Status: In Progress Resolved
Resolution: Fixed

scm_issue_link@java.net (JIRA)

unread,
Jan 25, 2016, 1:33:02 PM1/25/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Bug JENKINS-30759
 
Re: NPE from PlaceholderTask.finish

Code changed in jenkins
User: Jesse Glick
Path:
CHANGES.md
aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/ExecutorStepTest.java
support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution.java
http://jenkins-ci.org/commit/workflow-plugin/10b3bc8154c156a08b1eb5ad3f60d79eae8902bc
Log:
Merge pull request #323 from jglick/quick-node-

JENKINS-30759

JENKINS-30759 Race condition initializing fields in RunningTask

Compare: https://github.com/jenkinsci/workflow-plugin/compare/0bf6742cd3b8...10b3bc8154c1

scm_issue_link@java.net (JIRA)

unread,
Jan 25, 2016, 1:33:02 PM1/25/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Jesse Glick
Path:
CHANGES.md
aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/ExecutorStepTest.java
support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution.java

http://jenkins-ci.org/commit/workflow-plugin/e0fe19d80ad3478780d8f4246f63d398358e7437
Log:
[FIXED JENKINS-30759] Race condition initializing fields in RunningTask.

Reply all
Reply to author
Forward
0 new messages