IDEMPIERE-1293 NPE error on Advance Search
This commit is contained in:
parent
a880a91780
commit
320da911df
|
@ -291,7 +291,7 @@ public class WPaymentEditor extends WEditor implements ListDataListener {
|
||||||
{
|
{
|
||||||
int windowNo = lookup == null ? 0 : lookup.getWindowNo();
|
int windowNo = lookup == null ? 0 : lookup.getWindowNo();
|
||||||
Object newValue = getValue();
|
Object newValue = getValue();
|
||||||
if (newValue != null)
|
if (newValue != null && getGridField().getGridTab() != null)
|
||||||
{
|
{
|
||||||
final IPaymentForm pf = WPaymentFormFactory.create(windowNo, getGridField().getGridTab(), (String) newValue);
|
final IPaymentForm pf = WPaymentFormFactory.create(windowNo, getGridField().getGridTab(), (String) newValue);
|
||||||
if (pf != null)
|
if (pf != null)
|
||||||
|
|
Loading…
Reference in New Issue