From a15ab8b8c60695757a4f2ec634a233723543508a Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 19 Feb 2021 17:44:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=A0=91=E6=8B=96=E6=8B=BD=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/track/service/TestCaseNodeService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java index fedd336094..ef6c5abece 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java @@ -405,6 +405,10 @@ public class TestCaseNodeService extends NodeTreeService { TestCaseNodeDTO nodeTree = request.getNodeTree(); + if (nodeTree == null) { + return; + } + List updateNodes = new ArrayList<>(); buildUpdateTestCase(nodeTree, testCases, updateNodes, "/", "0", 1);