From 19661cd2549d4b063382d842756b821e1e71a5fb Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 5 Aug 2013 12:48:45 -0500 Subject: [PATCH] IDEMPIERE-1197 in advanced, when select empty item in column name, throw java.lang.NullPointerException / based on patch from Richard Morales --- .../WEB-INF/src/org/adempiere/webui/window/FindWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java index 24c6b0db59..47266feae2 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java @@ -1019,7 +1019,7 @@ public class FindWindow extends Window implements EventListener, ValueCha if (listbox.getId().equals(listColumn.getId())) { ListItem column = listColumn.getSelectedItem(); - if (column != null) + if (column != null && column.getValue().toString().length() > 0) { addOperators(column, listOperator); }