diff --git a/designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java b/designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java index 9404964a63..51d73b90dd 100644 --- a/designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java +++ b/designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java @@ -83,7 +83,7 @@ public class ParameterPropertyPane extends JPanel{ } public void setAddParaPaneVisible(boolean isVisible) { - if (isVisible == addParaPane.isVisible()) { + if (isVisible == addParaPane.isVisible() || formHierarchyTreePaneWrapper == null) { return; } if (isVisible && toolbarPane.hasSelectedLabelItem()) {