Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312469 - ResourceTreeRoot isn't thread safe
Summary: ResourceTreeRoot isn't thread safe
Status: NEW
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Diego Sahagun CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 13:12 EDT by Larry Isaacs CLA
Modified: 2012-05-01 15:45 EDT (History)
0 users

See Also:


Attachments
Portion of Eclipse .log file showing errors related to ResourceTreeRoot not being thread safe (24.41 KB, text/plain)
2010-05-11 13:12 EDT, Larry Isaacs CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Isaacs CLA 2010-05-11 13:12:47 EDT
Created attachment 167979 [details]
Portion of Eclipse .log file showing errors related to ResourceTreeRoot not being thread safe

The attached log shows what appears to be multiple calls to ResourceTreeRoot.getDeployResourceTreeRoot() creating multiple adapters (i.e. a couple of threads are in the "add" call at ResourceTreeRoot.java:128).  The impact of the ArrayIndexOutOfBoundsException is hard to assess.  Since this code has been this way for a long time, I'm leaving the severity at "normal".  The window for this to happen would seem to be small.  However, changes in WTP 3.2 could possibly increase the odds, so I'll keep an eye out.
Comment 1 Carl Anderson CLA 2010-05-11 16:51:25 EDT
Assigning to Jason for initial investigation.  Please retarget as appropriate.
Comment 2 Carl Anderson CLA 2011-05-19 22:04:32 EDT
Assigning this to Chava for initial investigation (since Jason Sholl moved on).