mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-03 12:48:46 +08:00
[Fix-7062][MasterServer] NPE when run switch conditions sub-process (#7687)
This commit is contained in:
parent
9f9ddea8dc
commit
9a1cea402e
@ -50,8 +50,6 @@ public class ConditionTaskProcessor extends BaseTaskProcessor {
|
||||
*/
|
||||
private DependentParameters dependentParameters;
|
||||
|
||||
ProcessInstance processInstance;
|
||||
|
||||
/**
|
||||
* condition result
|
||||
*/
|
||||
|
@ -36,8 +36,6 @@ import java.util.concurrent.locks.ReentrantLock;
|
||||
*/
|
||||
public class SubTaskProcessor extends BaseTaskProcessor {
|
||||
|
||||
private ProcessInstance processInstance;
|
||||
|
||||
private ProcessInstance subProcessInstance = null;
|
||||
private TaskDefinition taskDefinition;
|
||||
|
||||
|
@ -44,9 +44,6 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* switch task processor
|
||||
*/
|
||||
@ -54,9 +51,6 @@ public class SwitchTaskProcessor extends BaseTaskProcessor {
|
||||
|
||||
protected final String rgex = "['\"]*\\$\\{(.*?)\\}['\"]*";
|
||||
|
||||
private TaskInstance taskInstance;
|
||||
|
||||
private ProcessInstance processInstance;
|
||||
TaskDefinition taskDefinition;
|
||||
|
||||
private MasterConfig masterConfig = SpringApplicationContext.getBean(MasterConfig.class);;
|
||||
|
Loading…
Reference in New Issue
Block a user