diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListbox.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListbox.java index fba2103d5b..1876a27e70 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListbox.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListbox.java @@ -1351,6 +1351,9 @@ public class WListbox extends Listbox implements IMiniTable, TableValueChangeLis if (listHead != null && layout != null) { List headers = listHead.getChildren(); + if (headers.size() != layout.length) + return; + int i = 0; for(Object obj : headers) {