From 517f695809904839046529c683cf643c4350070c Mon Sep 17 00:00:00 2001 From: wangli <274027703@qq.com> Date: Wed, 24 Apr 2024 16:02:12 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E8=A7=A3=E5=86=B3=20NPE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/common/config/property/WorkflowProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflow-engine-server/src/main/java/cn/axzo/workflow/server/common/config/property/WorkflowProperties.java b/workflow-engine-server/src/main/java/cn/axzo/workflow/server/common/config/property/WorkflowProperties.java index 88d13389f..8e5ddc969 100644 --- a/workflow-engine-server/src/main/java/cn/axzo/workflow/server/common/config/property/WorkflowProperties.java +++ b/workflow-engine-server/src/main/java/cn/axzo/workflow/server/common/config/property/WorkflowProperties.java @@ -5,6 +5,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.context.annotation.Configuration; +import java.util.ArrayList; import java.util.List; /** @@ -22,6 +23,6 @@ import java.util.List; @Data public class WorkflowProperties { - private List filterOperations; + private List filterOperations = new ArrayList<>(); }