Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045109Openbravo ERP07. Sales managementpublic2020-09-22 08:462020-09-22 08:46
cdehen 
Triage Omni OMS 
normalmajoralways
newopen 
30Openbravo Appliance 14.04
3.0PR20Q1.2 
 
Core
No
0045109: EWI : Null Pointer
org.openbravo.base.exception.OBException: java.lang.NullPointerException
    at org.openbravo.erpCommon.businessUtility.ReplaceOrderExecutor.addNewPayments(ReplaceOrderExecutor.java:903) ~[classes/:?]
    at org.openbravo.erpCommon.businessUtility.ReplaceOrderExecutor.createNettingPayment(ReplaceOrderExecutor.java:856) [classes/:?]
    at org.openbravo.erpCommon.businessUtility.ReplaceOrderExecutor.cancelAndReplaceOrder(ReplaceOrderExecutor.java:158) [classes/:?]
    at org.openbravo.erpCommon.businessUtility.ReplaceOrderExecutor.run(ReplaceOrderExecutor.java:106) [classes/:?]
    at org.openbravo.erpCommon.businessUtility.CancelAndReplaceUtils.cancelAndReplaceOrder(CancelAndReplaceUtils.java:214) [classes/:?]
    at org.openbravo.erpCommon.businessUtility.CancelAndReplaceUtils.cancelAndReplaceOrder(CancelAndReplaceUtils.java:188) [classes/:?]
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:523) [classes/:?]

We have a null pointer when we have a ticket without payment.
In the customer ticket we have no payment because the product are services and totally free.
See description above

I join a fix
No tags attached.
? patch (1,607) 2020-09-22 08:46
https://issues.openbravo.com/file_download.php?file_id=14977&type=bug
Issue History
2020-09-22 08:46cdehenNew Issue
2020-09-22 08:46cdehenAssigned To => Triage Finance
2020-09-22 08:46cdehenFile Added: patch
2020-09-22 08:46cdehenModules => Core
2020-09-22 08:46cdehenTriggers an Emergency Pack => No

There are no notes attached to this issue.