Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0029189 | Openbravo ERP | 04. Warehouse management | public | 2015-02-27 14:16 | 2015-04-01 08:31 | |||||||
Reporter | umartirena | |||||||||||
Assigned To | umartirena | |||||||||||
Priority | urgent | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR15Q1.2 | Fixed in Version | 3.0PR15Q1.2 | |||||||||
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 | 0029189: [Cost Adjustments] org.hibernate.LazyInitializationException error while calculating BOM Product Cost | |||||||||||
Description | org.hibernate.LazyInitializationException error is obtained while calculating BOM Product Cost. This is the error obtained: ERROR org.openbravo.costing.CostingBackground - failed to lazily initialize a collection of role: ManufacturingProductionLine.materialMgmtMaterialTransactionList, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: ManufacturingProductionLine.materialMgmtMaterialTransactionList, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:445) at org.openbravo.costing.CostingAlgorithm.getBOMProductCost(CostingAlgorithm.java:493) at org.openbravo.costing.CostingAlgorithm.getTransactionCost(CostingAlgorithm.java:141) at org.openbravo.costing.AverageAlgorithm.getTransactionCost(AverageAlgorithm.java:45) at org.openbravo.costing.CostingServer.process(CostingServer.java:104) at org.openbravo.costing.CostingBackground.doExecute(CostingBackground.java:105) at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:80) at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:58) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) | |||||||||||
Steps To Reproduce | We have an environment of a client in which this problem happens. As the scenario is quite complex to reproduce in live.builds, it is possible to reproduce on that environment. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | Approved | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-03-09 09:22 | umartirena | Type | defect => backport | |||||||||
2015-03-09 09:22 | umartirena | Target Version | => 3.0PR15Q1.2 | |||||||||
2015-03-09 20:02 | dmitry_mezentsev | Tag Attached: Approved | ||||||||||
2015-03-25 08:51 | hgbot | Checkin | ||||||||||
2015-03-25 08:51 | hgbot | Note Added: 0075956 | ||||||||||
2015-03-25 08:51 | hgbot | Status | scheduled => resolved | |||||||||
2015-03-25 08:51 | hgbot | Resolution | open => fixed | |||||||||
2015-03-25 08:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/643bf6486d11c3ef4124a34b60652b45b85b7992 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/a22462331bafdb09639b8c453228dddcfa941e67 [^] | |||||||||
2015-03-25 08:52 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2015-03-25 08:52 | Sandrahuguet | Note Added: 0075957 | ||||||||||
2015-03-25 08:52 | Sandrahuguet | Status | resolved => closed | |||||||||
2015-03-25 08:52 | Sandrahuguet | Fixed in Version | => 3.0PR15Q1.2 | |||||||||
2015-04-01 08:10 | hgbot | Checkin | ||||||||||
2015-04-01 08:10 | hgbot | Note Added: 0076239 | ||||||||||
2015-04-01 08:10 | hgbot | Status | closed => resolved | |||||||||
2015-04-01 08:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/a22462331bafdb09639b8c453228dddcfa941e67 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/a22462331bafdb09639b8c453228dddcfa941e67 [^] | |||||||||
2015-04-01 08:31 | priyam | Status | resolved => closed | |||||||||
2015-04-01 08:31 | priyam | Note Added: 0076250 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|