Bug 231643 - ConcurrentModificationException during shutdown
Summary: ConcurrentModificationException during shutdown
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 2.0.1   Edit
Assignee: Brian Vosburgh CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-12 15:19 EDT by Brian Vosburgh CLA
Modified: 2008-07-21 18:43 EDT (History)
2 users (show)

See Also:
neil.hauge: review+


Attachments
stacktrace (2.57 KB, text/plain)
2008-05-12 15:19 EDT, Brian Vosburgh CLA
no flags Details
proposed patch (3.62 KB, patch)
2008-05-12 15:44 EDT, Brian Vosburgh CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Vosburgh CLA 2008-05-12 15:19:51 EDT
Created attachment 99794 [details]
stacktrace

I encountered a ConcurrentModificationException during shutdown. The code in GenericJpaFile.dispose() needs some work. I will attach the relevant portion of the stacktrace.
Comment 1 Brian Vosburgh CLA 2008-05-12 15:44:21 EDT
Created attachment 99800 [details]
proposed patch
Comment 2 Karen Butzke CLA 2008-06-03 11:40:53 EDT
I just hit this within eclipse when changing the platform from generic to eclipselink.  It leaves the project in a bad state, the persistence.xml editor is the one with just the Source tab.  Going back to the project properties and trying to view the JPA properties throws another exception and you can't view them.  Have to restart eclipse to get the project properly defined with the eclipselink platform
Comment 3 Brian Vosburgh CLA 2008-07-21 18:43:00 EDT
Released changes to HEAD (soon to be branched for 2.0.1).