Summary: | [search] ResourceException while searching for method reference | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P3 | CC: | eric_jodet, jerome_lanneluc | ||||
Version: | 3.3 | ||||||
Target Milestone: | 3.4 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2007-08-15 12:40:46 EDT
It's a regression introduced by fix for bug 138184. While indexing the separator is stored in Index but not in index file hence while reading existing file the default separator '/' is used and break indexing for all jar files! This problem does not occur on the first time eclipse is launched on a workspace, but only if eclipse is launched twice or more on this workspace... The first time eclipse is launched, all index files are rebuild and Search works properly in this session. This explains why all our tests were green... All further launch of eclipse on this workspace will not rebuild the indexes which are not correct and so Search will stop to work properly in these further sessions... So, when this happen, the workaround is to close the session and clean all index files in .metadata/.plugins/org/eclipse.jdt.core directory. This will force a rebuild while restarting the next eclipse session on this workspace and put back Search to work correctly. Created attachment 76153 [details]
Proposed patch
Released for 3.4M2 in HEAD stream. (In reply to comment #4) Verified for 3.4 M2 using build I20070917-0010. |