[Fix-7062][MasterServer] NPE when run switch conditions sub-process (#7687)

This commit is contained in:
aaronlinv 2021-12-29 10:58:23 +08:00 committed by GitHub
parent 9f9ddea8dc
commit 9a1cea402e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 10 deletions

View File

@ -50,8 +50,6 @@ public class ConditionTaskProcessor extends BaseTaskProcessor {
*/
private DependentParameters dependentParameters;
ProcessInstance processInstance;
/**
* condition result
*/

View File

@ -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;

View File

@ -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);;