From 92ac50e21f66eb945f72390435df461fa5545827 Mon Sep 17 00:00:00 2001 From: Jose Leite <122051639+joseleite550@users.noreply.github.com> Date: Thu, 23 Mar 2023 16:38:00 -0300 Subject: [PATCH] IDEMPIERE-5638 - Fix nullpointer when expanding editor in virtual column (#1747) --- .../src/org/adempiere/webui/window/WTextEditorDialog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java index 7096b76a05..46f19776fa 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java @@ -284,7 +284,8 @@ public class WTextEditorDialog extends Window implements EventListener{ } private void onSize() { - editor.invalidate(); + if(editor != null) + editor.invalidate(); } private void updateStatus(int newLength) {