Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320750 - Could not save runtimes: Concurrent Modification Exception
Summary: Could not save runtimes: Concurrent Modification Exception
Status: ASSIGNED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Steven Hung CLA
QA Contact: Elson Yuen CLA
URL:
Whiteboard: plan_draft_325
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 12:12 EDT by Matthew Martire CLA
Modified: 2011-08-24 11:14 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.