IDEMPIERE-4644 Heading only Field is the cause of NullPointerException Error on Find Window. I Added null check logic. (#523)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
This commit is contained in:
parent
a1f39f9506
commit
fb8c045de9
|
@ -1218,7 +1218,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
|||
WEditor editor = null;
|
||||
//false will use hflex which is render 1 pixel too width on firefox
|
||||
editor = WebEditorFactory.getEditor(mField, true);
|
||||
if (!editor.isSearchable()) {
|
||||
if (editor == null || !editor.isSearchable()) {
|
||||
return false;
|
||||
}
|
||||
editor.setMandatory(false);
|
||||
|
|
Loading…
Reference in New Issue