Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028792 | Openbravo ERP | 04. Warehouse management | public | 2015-01-27 20:05 | 2015-02-06 09:06 |
|
Reporter | umartirena | |
Assigned To | umartirena | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
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 | 0028792: [Cost Adjustments] Not controlled Null Pointer Exception error in Costing Background under certain circumstances |
Description | While running Costing Background process a 'Null Pointer Exception' error is raised under certain circumstances. |
Steps To Reproduce | In F&B Group admin:
* Go to Costing Rule window. Select existing costing rule of US Inc. org. Run 'Fix backdated transactions' process with date 01/08/2014 (17/10/2014)
* Create a new product for US Inc. org. Add a Sales Price.
* Add a Costing record for that product. Cost 15, Starting Date 01/08/2014, Ending Date 15/01/2015
* Create a Goods Shipment. US Inc. org, Movement Date 02/01/2015.
* Add a line with the previous product, qty 10
* Create another Goods Shipment. US Inc. org, Movement Date 01/01/2015.
* Add a line with the previous product, qty 15
* Using pgadmin update the transaction process date of the two new transaction records. For the first one set trxprocessdate = '10/01/2015'. For the first one set trxprocessdate = '09/01/2015'
* Run Costing Background Process.
* Realize that 'Null Pointer Exception' error is raised in eclipse log, but nothing is displayed in the process monitor even the process finishes as Success. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-01-27 20:05 | umartirena | New Issue | |
2015-01-27 20:05 | umartirena | Assigned To | => dmiguelez |
2015-01-27 20:05 | umartirena | OBNetwork customer | => No |
2015-01-27 20:05 | umartirena | Modules | => Core |
2015-01-27 20:05 | umartirena | Triggers an Emergency Pack | => No |
2015-01-27 20:05 | umartirena | Assigned To | dmiguelez => umartirena |
2015-01-27 20:09 | hgbot | Checkin | |
2015-01-27 20:09 | hgbot | Note Added: 0073834 | |
2015-01-27 20:09 | hgbot | Status | new => resolved |
2015-01-27 20:09 | hgbot | Resolution | open => fixed |
2015-01-27 20:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/26cbf54910c2aef6faed8f5467532129ce5c3e50 [^] |
2015-01-27 20:11 | hgbot | Checkin | |
2015-01-27 20:11 | hgbot | Note Added: 0073835 | |
2015-01-30 13:28 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7566#r7566 |
2015-01-30 13:30 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7567#r7567 |
2015-02-04 20:34 | hudsonbot | Checkin | |
2015-02-04 20:34 | hudsonbot | Note Added: 0074187 | |
2015-02-04 20:34 | hudsonbot | Checkin | |
2015-02-04 20:34 | hudsonbot | Note Added: 0074188 | |
2015-02-05 13:13 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7627#r7627 |
2015-02-06 09:06 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2015-02-06 09:06 | Sandrahuguet | Note Added: 0074240 | |
2015-02-06 09:06 | Sandrahuguet | Status | resolved => closed |
2015-02-06 09:06 | Sandrahuguet | Fixed in Version | => 3.0PR15Q2 |
Notes |
|
(0073834)
|
hgbot
|
2015-01-27 20:09
|
|
Repository: erp/devel/pi
Changeset: 26cbf54910c2aef6faed8f5467532129ce5c3e50
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Jan 27 20:08:23 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/26cbf54910c2aef6faed8f5467532129ce5c3e50 [^]
Fixes bug 28792: Null Pointer exception now is avoided in Costing Background
The problem was in AverageCostAdjustment java process while calling AverageAlgorithm.getProductCost method. While returning null, Null Pointer Exception error was raised.
---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
|
|
|
(0073835)
|
hgbot
|
2015-01-27 20:11
|
|
|
|
|
|
|
|
|
|
|
|