Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0030314 | Openbravo ERP | 08. Project and service management | public | 2015-07-03 14:12 | 2015-10-05 19:11 | ||||||||||||||||
Reporter | ngarcia | ||||||||||||||||||||
Assigned To | Triage Omni OMS | ||||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | always | ||||||||||||||||
Status | closed | Resolution | duplicate | ||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR15Q3.2 | |||||||||||||||||||
Merge Request Status | |||||||||||||||||||||
Review Assigned To | ngarcia | ||||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||||
Web browser | |||||||||||||||||||||
Modules | Core | ||||||||||||||||||||
Support ticket | |||||||||||||||||||||
Regression level | |||||||||||||||||||||
Regression date | |||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||
Summary | 0030314: NullPointerException when launching the Create AP Expense Invoices process | ||||||||||||||||||||
Description | NullPointerException when launching the Create AP Expense Invoices process. As new connection is opened, when trying to access the invoice through DAL in the getDeferredPlanForInvoiceProduct() of the AccDefUtility class is it not available: Invoice invoice = OBDal.getInstance().get(Invoice.class, invoiceId); isSOTRX = invoice.isSalesTransaction(); | ||||||||||||||||||||
Steps To Reproduce | As group admin role: Create a new Product: Product Type = Expense Type Add a price to it Set Javier Martin as Vendor and set the default values for Purchase Price List, Payment method... Create a Expense Sheet for Javier Martin and add a line to it with the previously created product Time Sheet = 'N' Process it Launch the Create AP Expense Invoices process and NullPointerException error is shown java.lang.NullPointerException at org.openbravo.erpCommon.utility.AccDefUtility.getDeferredPlanForInvoiceProduct(AccDefUtility.java:139) at org.openbravo.erpCommon.ad_process.ExpenseAPInvoice.processExpense(ExpenseAPInvoice.java:323) at org.openbravo.erpCommon.ad_process.ExpenseAPInvoice.doPost(ExpenseAPInvoice.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) | ||||||||||||||||||||
Proposed Solution | |||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2015-07-03 14:12 | ngarcia | New Issue | |||||||||||||||||||
2015-07-03 14:12 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||||
2015-07-03 14:12 | ngarcia | OBNetwork customer | => No | ||||||||||||||||||
2015-07-03 14:12 | ngarcia | Modules | => Core | ||||||||||||||||||
2015-07-03 14:12 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||||
2015-07-03 14:12 | ngarcia | Issue Monitored: networkb | |||||||||||||||||||
2015-07-03 14:13 | ngarcia | Relationship added | caused by 0028934 | ||||||||||||||||||
2015-07-03 14:20 | ngarcia | Assigned To | Triage Finance => inigosanchez | ||||||||||||||||||
2015-07-06 08:45 | alostale | Note Added: 0078647 | |||||||||||||||||||
2015-07-06 08:46 | alostale | Assigned To | inigosanchez => Triage Finance | ||||||||||||||||||
2015-10-05 19:11 | ngarcia | Review Assigned To | => ngarcia | ||||||||||||||||||
2015-10-05 19:11 | ngarcia | Relationship added | duplicate of 0030811 | ||||||||||||||||||
2015-10-05 19:11 | ngarcia | Status | new => closed | ||||||||||||||||||
2015-10-05 19:11 | ngarcia | Resolution | open => duplicate | ||||||||||||||||||
2015-10-05 19:11 | ngarcia | Fixed in Version | => 3.0PR15Q3.2 |
Notes | |||||
|
|||||
|
|