diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java index f52315372d..8e446f5963 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java @@ -32,6 +32,7 @@ import com.fr.design.layout.FRGUIPaneFactory; import com.fr.design.menu.SeparatorDef; import com.fr.design.menu.ToolBarDef; import com.fr.design.utils.gui.GUICoreUtils; +import com.fr.log.FineLoggerFactory; import com.fr.stable.ArrayUtils; import com.fr.stable.StringUtils; @@ -217,7 +218,11 @@ public class ProcedureDataPane extends AbstractTableDataPane imp @Override public void done() { - editorPane.populate(storeprocedure.getParameters()); + if (editorPane != null) { + editorPane.populate(storeprocedure.getParameters()); + } else { + FineLoggerFactory.getLogger().warn("editorPane is null!"); + } } };