Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340245 - JavaScript indexing thread is indexing data outside of workspace
Summary: JavaScript indexing thread is indexing data outside of workspace
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on: 298977
Blocks:
  Show dependency tree
 
Reported: 2011-03-16 16:48 EDT by Chris Jaun CLA
Modified: 2011-03-16 22:33 EDT (History)
3 users (show)

See Also:


Attachments

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