Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0034563 | Openbravo ERP | 04. Warehouse management | public | 2016-11-17 15:41 | 2016-12-16 18:39 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | Sanjota | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR17Q1 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | aferraz | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0034563: Index: 0, Size: 0 error when launching Costing Migration Process | ||||||||||||||||||
Description | Index: 0, Size: 0 error when launching Costing Migration Process | ||||||||||||||||||
Steps To Reproduce | As system admin role: Install the 3.0MP12.2 version Upgrade it to pi Note: I need to launch the following command as the Costing Algorithms were not present in the system after recompiling it: ant apply.module -DforceRefData=true ant smartbuild As group admin roles: Create 2016 year and periods for all the legal with accounting organizations in the system Open them As system admin role: Launch the Costing Migration process Check it launches a warning that there are transactions without cost Set as inactive the 'Products with transactions without available cost on date.' alert Launch the Costing Migration process again Check the 'Index: 0, Size: 0 ' error message is shown and the log shows: ERROR org.openbravo.costing.CostingMigrationProcess - Index: 0, Size: 0 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:446) at org.openbravo.costing.CostingMigrationProcess.calculateCosts(CostingMigrationProcess.java:515) at org.openbravo.costing.CostingMigrationProcess.createRules(CostingMigrationProcess.java:470) at org.openbravo.costing.CostingMigrationProcess.execute(CostingMigrationProcess.java:124) at org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser.process64B3FF29AC174F4B94538BD0A3CE1CD3(ActionButtonJava_Responser.java:2732) at org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser.doPost(ActionButtonJava_Responser.java:273) | ||||||||||||||||||
Proposed Solution | The problem is in the following piece of code: MaterialTransaction trx = icl.getMaterialMgmtMaterialTransactionList().get(0); the record in the m_transaction table associated to the m_inventoryline is not available | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2016-11-17 15:41 | ngarcia | New Issue | |||||||||||||||||
2016-11-17 15:41 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||
2016-11-17 15:41 | ngarcia | Modules | => Core | ||||||||||||||||
2016-11-17 15:41 | ngarcia | Resolution time | => 1481151600 | ||||||||||||||||
2016-11-17 15:41 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||
2016-11-17 15:43 | ngarcia | Relationship added | blocks 0034564 | ||||||||||||||||
2016-11-17 15:44 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2016-11-18 09:32 | aferraz | Assigned To | Triage Finance => Sanjota | ||||||||||||||||
2016-11-21 06:44 | Sanjota | Status | new => scheduled | ||||||||||||||||
2016-11-25 13:15 | Sanjota | Note Added: 0091839 | |||||||||||||||||
2016-12-01 09:58 | aferraz | Relationship added | related to 0034662 | ||||||||||||||||
2016-12-01 14:44 | hgbot | Checkin | |||||||||||||||||
2016-12-01 14:44 | hgbot | Note Added: 0091969 | |||||||||||||||||
2016-12-01 14:44 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2016-12-01 14:44 | hgbot | Resolution | open => fixed | ||||||||||||||||
2016-12-01 14:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d8bca1491fa673bef625cc2978885f1ee6e20f30 [^] | ||||||||||||||||
2016-12-01 14:46 | aferraz | Review Assigned To | => aferraz | ||||||||||||||||
2016-12-01 14:46 | aferraz | Note Added: 0091972 | |||||||||||||||||
2016-12-01 14:46 | aferraz | Status | resolved => closed | ||||||||||||||||
2016-12-01 14:46 | aferraz | Fixed in Version | => 3.0PR17Q1 | ||||||||||||||||
2016-12-16 18:39 | hudsonbot | Checkin | |||||||||||||||||
2016-12-16 18:39 | hudsonbot | Note Added: 0092676 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|