diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPayPrint.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPayPrint.java index 387496f310..a9be712a57 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPayPrint.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPayPrint.java @@ -303,6 +303,8 @@ public class WPayPrint extends PayPrint implements IFormController, EventListene */ private void loadPaymentRuleInfo() { + if (fPaymentRule.getSelectedItem() == null) + return; ValueNamePair pp = fPaymentRule.getSelectedItem().toValueNamePair(); if (pp == null) return;