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

Bug 340245

Summary: JavaScript indexing thread is indexing data outside of workspace
Product: [WebTools] JSDT Reporter: Chris Jaun <cmjaun>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun, kevintap, thatnitind
Version: 3.3   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 298977    
Bug Blocks:    

Description Chris Jaun CLA 2011-03-16 16:48:10 EDT
+++ This bug was initially created as a clone of Bug #298977 +++

Build Identifier: M20090211-1700

The JavaScript indexing thread is indexing data outside of my workspace.  I'm not quite sure why this would happen.

My workspace is located in c:/workspaces/runtime-MyTestWorkspace.

Periodically when I shutdown Eclipse, it takes a LONG time to shutdown.  I usually run Eclipse in debug mode (launched by another Eclipse instance) for developing new plugins.  During the long delay on shutdown, I've noticed that the JavaScript indexing thread is quite active.  I've suspended this thread in the debugger and examined the stack.  It appears that the JavaScript indexing thread is busy trying to index all javascript files located under c:/workspaces.

I would assume that the JavaScript indexing thread runs on some schedule to periodically index or re-index the JavaScript files, and I only encounter this issue on periodic shutdowns of my workspace.


Reproducible: Sometimes

Steps to Reproduce:
1.Configure a workspace using the path described above in c:/workspaces/runtime-MyTestWorkspace
2.Place a large amount of content in a folder such as c:/workspaces/junk
3.Shutdown Eclipse - it will attempt to index the c:/workspaces/junk folder
Comment 1 Nitin Dahyabhai CLA 2011-03-16 22:33:13 EDT
Patch from bug 298977 applied to HEAD.