From: <leg...@at...> - 2003-09-18 06:46:54
|
The following comment has been added to this issue: Author: jason zhang Created: Thu, 18 Sep 2003 1:46 AM Body: First there is no this problem if I use hibernate 2.0. In my system, I can reproduce this problem consistently. I just can not set up a simple system to reproduce this problem. I can not just send my system to you since it has tons of code. Let me try to see whether I can create a simple case to reproduce this problem or not. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-339 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-339 Summary: java.util.ConcurrentModificationException Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 beta 3 Assignee: Reporter: jason zhang Created: Wed, 17 Sep 2003 1:59 AM Updated: Wed, 17 Sep 2003 1:59 AM Environment: Window 2000 professional, JVM 1.4, oracle 9 Description: There is no any problem if the same test case is run with hibernate 2.0. But it does not work with hibernate 2.1 beta 3b. 14:46:56,891 ERROR PersistentCollection:157 - Failed to lazily initialize a collection java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.remove(HashMap.java:781) at net.sf.hibernate.impl.SessionImpl.endLoadingCollections(SessionImpl.java:3015) at net.sf.hibernate.loader.Loader.doResultSet(Loader.java:224) at net.sf.hibernate.loader.Loader.doFind(Loader.java:113) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:720) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:703) at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:74) at net.sf.hibernate.impl.SessionImpl.initialize(SessionImpl.java:3143) at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:154) at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:63) at net.sf.hibernate.collection.Set.iterator(Set.java:132) .... caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.remove(HashMap.java:781) at net.sf.hibernate.impl.SessionImpl.endLoadingCollections(SessionImpl.java:3015) at net.sf.hibernate.loader.Loader.doResultSet(Loader.java:224) at net.sf.hibernate.loader.Loader.doFind(Loader.java:113) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:720) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:703) at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:74) at net.sf.hibernate.impl.SessionImpl.initialize(SessionImpl.java:3143) at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:154) ... 30 more --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |