Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
Description
With nested parallel branch, parallelStartNode is passed as null. Its supposed to be non-null value, this behavior has consequence of causing NPE.
public void parallelBranchStart(@Nonnull FlowNode parallelStartNode, @Nonnull FlowNode branchStartNode, @Nonnull ForkScanner scanner) {}
node { stage ('test') { echo ('Testing'); parallel nestedBranch: { echo 'nested Branch' stage('nestedBranchStage') { echo 'running nestedBranchStage' parallel secondLevelNestedBranch1: { echo 'secondLevelNestedBranch1' } } }, failFast: false } }
Attachments
Issue Links
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Labels | blueocean |
Description |
With nested parallel branch, parallelStartNode is passed as null. Its supposed to be non-null value, this behavior has consequence of causing NPE. {code} public void parallelBranchStart(@Nonnull FlowNode parallelStartNode, @Nonnull FlowNode branchStartNode, @Nonnull ForkScanner scanner) {} {code} node { stage ('test') { echo ('Testing'); parallel nestedBranch: { echo 'nested Branch' stage('nestedBranchStage') { echo 'running nestedBranchStage' parallel secondLevelNestedBranch1: { echo 'secondLevelNestedBranch1' } } }, failFast: false } } {code} {code} |
With nested parallel branch, parallelStartNode is passed as null. Its supposed to be non-null value, this behavior has consequence of causing NPE. {code} public void parallelBranchStart(@Nonnull FlowNode parallelStartNode, @Nonnull FlowNode branchStartNode, @Nonnull ForkScanner scanner) {} {code} {code} node { stage ('test') { echo ('Testing'); parallel nestedBranch: { echo 'nested Branch' stage('nestedBranchStage') { echo 'running nestedBranchStage' parallel secondLevelNestedBranch1: { echo 'secondLevelNestedBranch1' } } }, failFast: false } } {code} |
Assignee | Sam Van Oort [ svanoort ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Closed [ 6 ] |
Remote Link | This issue links to "CloudBees Internal OSS-1690 (Web Link)" [ 18611 ] |