From 2bac14ada6b3eaf947adfb4b78489fd18c1cf2e6 Mon Sep 17 00:00:00 2001 From: hades Date: Mon, 21 Sep 2020 15:05:04 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-40094=20=E3=80=90=E5=9B=9E=E5=BD=92?= =?UTF-8?q?=E3=80=91=E8=BF=9C=E7=A8=8B=E5=88=87=E6=8D=A2=E5=9B=9E=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=EF=BC=8C=E7=BD=91=E9=A1=B5=E6=A1=86=E6=8E=A7=E4=BB=B6?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/mainframe/EastRegionContainerPane.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java b/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java index a273828d84..c7c587563a 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java @@ -511,7 +511,10 @@ public class EastRegionContainerPane extends UIEastResizableContainer { UIUtil.invokeLaterIfNeeded(new Runnable() { @Override public void run() { - propertyItemMap.get(key).replaceContentPane(pane); + PropertyItem item = propertyItemMap.get(key); + if (item != null) { + item.replaceContentPane(pane); + } } }); }