Bug 159009 Errors opening resource
build i0926-0935 I commonly use ctrl-shift-r to open a resource in my workspace. with this build I frequently get an error and the following stack track in my log file. !ENTRY org.eclipse.core.jobs 4 2 2006-09-27 13:47:30.164 !MESSAGE An internal error occurred during: "Searching for all". !STACK 0 java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365) at java.util.LinkedHashMap$ValueIterator.next(LinkedHashMap.java:380) at org.eclipse.ui.dialogs.ResourceSearcher$ResourceHistory.getMatchedElements(ResourceSearcher.java:497) at org.eclipse.ui.dialogs.ResourceSearcher$ResourceSearchEngineJob.getFilteredHistory(ResourceSearcher.java:306) at org.eclipse.ui.dialogs.AbstractSearcher$AbstractSearchJob.internalRun(AbstractSearcher.java:395) at org.eclipse.ui.dialogs.AbstractSearcher$AbstractSearchJob.doRun(AbstractSearcher.java:371) at org.eclipse.ui.dialogs.AbstractSearcher$AbstractJob.run(AbstractSearcher.java:337) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceSearcher.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.dialogs.AbstractSearcher#validateElement(java.lang.Object)
	 */
	public IStatus validateElement(Object item) {
		return new Status(IStatus.OK, WorkbenchPlugin.PI_WORKBENCH, 0, "", null); 
	}
	/**
	 * Use this method to further filter resources. As resources are gathered,
	 * if a resource matches the current pattern string, this method will be
	 * called. If this method answers false, the resource will not be included
	 * in the list of matches and the resource's children will NOT be considered
	 * for matching.
	 */
	protected boolean validateSearchedResource(IResource resource) {
		return true;
	}
	private void setSearchPattern(String text) {
		stop(false, false);
		if (text.length() == 0) {  
				filter = null;
				model.reset();
		} else {
			filter = new ResourceFilter(text);
			scheduleSearchJob();
		}
	}
	
	private void setSearchDerived(boolean isDerived) {