Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0028792 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 04. Warehouse management | major | always | 2015-01-27 20:05 | 2015-02-06 09:06 | |||
| Reporter | umartirena | View Status | public | |||||
| Assigned To | umartirena | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR15Q2 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 26cbf54910c2 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| 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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0073834) hgbot (developer) 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 (developer) 2015-01-27 20:11 |
Repository: erp/devel/pi Changeset: e41b94ecad5b7ed2cb8d688a614c72228c6cad4d Author: Unai Martirena <unai.martirena <at> openbravo.com> Date: Tue Jan 27 20:10:56 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/e41b94ecad5b7ed2cb8d688a614c72228c6cad4d [^] Related to issue 28792: Uncomment a piece of code --- M src/org/openbravo/costing/AverageCostAdjustment.java --- |
|
(0074187) hudsonbot (viewer) 2015-02-04 20:34 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f36c91d0ad63 [^] Maturity status: Test |
|
(0074188) hudsonbot (viewer) 2015-02-04 20:34 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f36c91d0ad63 [^] Maturity status: Test |
|
(0074240) Sandrahuguet (viewer) 2015-02-06 09:06 |
Code review done |
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 | View Revisions |
| 2015-01-30 13:30 | psanjuan | Steps to Reproduce Updated | View Revisions |
| 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 | View Revisions |
| 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 |
| Copyright © 2000 - 2009 MantisBT Group |