Merge pull request #4088 from liliang1991/dev11_20

[Fix-4090][dao] Add null judgment
This commit is contained in:
dailidong 2020-11-23 17:09:37 +08:00 committed by GitHub
commit 2d96ecfd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ public class DagHelper {
}
for (String dependNodeName : dependList) {
TaskNode dependNode = dag.getNode(dependNodeName);
if (completeTaskList.containsKey(dependNodeName)
if (dependNode == null || completeTaskList.containsKey(dependNodeName)
|| dependNode.isForbidden()
|| skipTaskNodeList.containsKey(dependNodeName)) {
continue;