IDEMPIERE-3841 PackIn throws NPE when cannot find AD_Window_ID for a Table element
This commit is contained in:
parent
ac14fcd294
commit
349c764730
|
@ -107,6 +107,8 @@ public class TableElementHandler extends AbstractElementHandler {
|
||||||
|
|
||||||
public void endElement(PIPOContext ctx, Element element) throws SAXException {
|
public void endElement(PIPOContext ctx, Element element) throws SAXException {
|
||||||
MTable mTable = findPO(ctx, element);
|
MTable mTable = findPO(ctx, element);
|
||||||
|
if (element.defer && mTable == null)
|
||||||
|
return;
|
||||||
boolean isValidateView = false;
|
boolean isValidateView = false;
|
||||||
MViewComponent[] m_vcs = mTable.getViewComponent(true);
|
MViewComponent[] m_vcs = mTable.getViewComponent(true);
|
||||||
if (m_vcs != null && m_vcs.length > 0)
|
if (m_vcs != null && m_vcs.length > 0)
|
||||||
|
|
Loading…
Reference in New Issue