Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320750

Summary: Could not save runtimes: Concurrent Modification Exception
Product: [WebTools] WTP ServerTools Reporter: Matthew Martire <mmartire>
Component: wst.serverAssignee: Steven Hung <sghung>
Status: ASSIGNED --- QA Contact: Elson Yuen <eyuen7>
Severity: normal    
Priority: P3 CC: eyuen7, gphung, mcraquel, melickm, sghung
Version: 3.2   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard: plan_draft_325

Description Matthew Martire CLA 2010-07-23 12:12:05 EDT
Build Identifier: 3.4.2: I3425I20100714_20100714_1345

When saving a runtime during workbench startup, this stacktrace is produced:

java.util.ConcurrentModificationException
	at java.util.AbstractList$SimpleListIterator.next(Unknown Source)
	at org.eclipse.wst.server.core.internal.ResourceManager.saveRuntimesList(Unknown Source)
	at org.eclipse.wst.server.core.internal.ResourceManager.addRuntime(Unknown Source)
	at org.eclipse.wst.server.core.internal.Runtime.saveToMetadata(Unknown Source)
	at org.eclipse.wst.server.core.internal.RuntimeWorkingCopy.save(Unknown Source)

Reproducible: Sometimes

Steps to Reproduce:
the problem is intermittent
Comment 1 Angel Vera CLA 2010-07-26 14:54:34 EDT
It is likely that this defect will get resolved by the changes that we added in Bug# 250500. We recently added those changes into the build. Can you confirm that you have a driver that is of this month?

*** This bug has been marked as a duplicate of bug 250500 ***
Comment 2 Matthew Martire CLA 2010-07-26 15:36:46 EDT
The WTP driver this was on was 3.0.5. However the bug that this was duped to is targeted for 3.2.1. We'd like to get this fix back ported to 3.0.5. so I am re-opening this defect.
Comment 3 Matthew Martire CLA 2010-09-17 16:04:02 EDT
Hi Angel, will this fix be back ported to WTP 3.0.5?
Comment 4 Matthew Martire CLA 2010-10-20 12:03:27 EDT
Angel, what is the status of this bug? Ive found this error in the 3.6 build stream as well. A test was run in early august that produced this and was only found now.