Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021300
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorsometimes2012-08-03 10:082012-08-22 11:21
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version3.0MP15
StatusclosedFix in branchFixed in SCM revisionc10f4c521f4a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP13SCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021300: ConcurrentModificationException in ApplicationDictionaryCachedStructures can be found sometimes in erp logfiles

DescriptionWhen checking logfiles of online demo the following problem can be seen sometimes:

java.util.ConcurrentModificationException
        at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)
        at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:409)
        at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:408)
        at org.hibernate.util.IdentityMap.entrySet(IdentityMap.java:206)
        at org.hibernate.engine.BatchFetchQueue.getCollectionBatch(BatchFetchQueue.java:178)
        at org.hibernate.loader.collection.BatchingCollectionInitializer.initialize(BatchingCollectionInitializer.java:73)
        at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:627)
        at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
        at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1863)
        at org.hibernate.collection.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:479)
        at org.hibernate.Hibernate.initialize(Hibernate.java:417)
        at org.openbravo.client.application.window.ApplicationDictionaryCachedStructures.initializeReference(ApplicationDictionaryCachedStructures.java:156)
        at org.openbravo.client.application.window.ApplicationDictionaryCachedStructures.initializeColumn(ApplicationDictionaryCachedStructures.java:144)
        at org.openbravo.client.application.window.ApplicationDictionaryCachedStructures.getColumnsOfTable(ApplicationDictionaryCachedStructures.java:122)
        at org.openbravo.client.application.window.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$window$ApplicationDictionaryCachedStr
        at org.openbravo.client.application.window.FormInitializationComponent.getADColumnList(FormInitializationComponent.java:1616)
        at org.openbravo.client.application.window.FormInitializationComponent.setSessionValues(FormInitializationComponent.java:1047)
        at org.openbravo.client.application.window.FormInitializationComponent.setSessionVariablesInParent(FormInitializationComponent.java:774)
        at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:209)
        at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71)
        at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:193)
        at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:104)
        at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:177)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051396)
hgbot (developer)
2012-08-20 17:37

Repository: erp/devel/pi
Changeset: c10f4c521f4a05c8977d58faf5729d7d87f768ed
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Aug 20 16:55:03 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c10f4c521f4a05c8977d58faf5729d7d87f768ed [^]

Fixed issue 21300. Synchronized initialization of DAL objects to prevent concurrent modification exception

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
---
(0051455)
AugustoMauch (manager)
2012-08-22 11:21

Code reviewed and verified in pi@8a09d93b4149

- Issue History
Date Modified Username Field Change
2012-08-03 10:08 shuehner New Issue
2012-08-03 10:08 shuehner Assigned To => marvintm
2012-08-03 10:08 shuehner Modules => Core
2012-08-20 17:37 hgbot Checkin
2012-08-20 17:37 hgbot Note Added: 0051396
2012-08-20 17:37 hgbot Status new => resolved
2012-08-20 17:37 hgbot Resolution open => fixed
2012-08-20 17:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c10f4c521f4a05c8977d58faf5729d7d87f768ed [^]
2012-08-22 11:21 AugustoMauch Closed by => AugustoMauch
2012-08-22 11:21 AugustoMauch Note Added: 0051455
2012-08-22 11:21 AugustoMauch Status resolved => closed
2012-08-22 11:21 AugustoMauch Fixed in Version => 3.0MP15


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker