IDEMPIERE-3841 PackIn throws NPE when cannot find AD_Window_ID for a Table element

This commit is contained in:
Carlos Ruiz 2018-12-04 13:26:49 +01:00
parent ac14fcd294
commit 349c764730
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ public class TableElementHandler extends AbstractElementHandler {
public void endElement(PIPOContext ctx, Element element) throws SAXException {
MTable mTable = findPO(ctx, element);
if (element.defer && mTable == null)
return;
boolean isValidateView = false;
MViewComponent[] m_vcs = mTable.getViewComponent(true);
if (m_vcs != null && m_vcs.length > 0)