mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-03 04:39:00 +08:00
fix: NullPointException in the case of task queuing (#2175)
This commit is contained in:
parent
a076ae4c36
commit
e0389aebf6
@ -1062,7 +1062,7 @@ public class MasterExecThread implements Runnable {
|
||||
|
||||
TaskInstance taskInstance = taskExecThread.getTaskInstance();
|
||||
taskInstance = processService.findTaskInstanceById(taskInstance.getId());
|
||||
if(taskInstance.getState().typeIsFinished()){
|
||||
if(taskInstance != null && taskInstance.getState().typeIsFinished()){
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user