Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028990Openbravo ERP09. Financial managementpublic2015-02-19 04:282015-02-19 11:01
szapata 
Sandrahuguet 
normalmajorhave not tried
closedduplicate 
5
 
 
Advanced Payables and Receivables Mngmt
No
0028990: NullPointer Exception in FIN_PaymentProcess.java
In https://code.openbravo.com/erp/devel/pi/file/b5ce661abc2d/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java#l398 [^]

The process is trying to get the id of the currency of the business partner, but the currency can be null so .getId() is crashing.
Execute FIN_PaymentProcess for a Business Partner with no currency set up.
Check if the business partner has currency and, if not, get the currency from the pricelist of the invoice or from the Organization.

Or

Prevent null values in the currency field in business partner (it can require a modulescript)
No tags attached.
duplicate of defect 0028722 closed aaroncalero Retail Modules Not possible to create invoiced receipts for customers created in WebPOS 
Issue History
2015-02-19 04:28szapataNew Issue
2015-02-19 04:28szapataAssigned To => Sandrahuguet
2015-02-19 04:28szapataModules => Advanced Payables and Receivables Mngmt
2015-02-19 04:28szapataTriggers an Emergency Pack => No
2015-02-19 11:01jecharriRelationship addedduplicate of 0028722
2015-02-19 11:01jecharriStatusnew => closed
2015-02-19 11:01jecharriResolutionopen => duplicate

There are no notes attached to this issue.