IDEMPIERE-1197 in advanced, when select empty item in column name, throw java.lang.NullPointerException / based on patch from Richard Morales

This commit is contained in:
Carlos Ruiz 2013-08-05 12:48:45 -05:00
parent 2345c88481
commit 19661cd254
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@ public class FindWindow extends Window implements EventListener<Event>, 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);
}