Bug 68868 Sometime a search results in the error "Memento problem" [search]
Sometimes when I do a search via Java editor popup menu References->Workspace, I get the following error in the error log: Memento problem - invalid integer for key: org.eclipse.jdt.search.resultpage.grouping value: TRUE An exception stack trace could not be found. eclipse.buildId=I200406251208 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Seems to be random. I can't find a specific search that causes the error, but it happens somewhat frequently.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
}
		return false;
	}
	public void setInput(ISearchResult search, Object viewState) {
		updateFilterEnablement((JavaSearchResult)search);
		super.setInput(search, viewState);
	}
	private void updateFilterEnablement(JavaSearchResult result) {
		IActionBars bars= getSite().getActionBars();
		IMenuManager menu= bars.getMenuManager();
		for (int i= 0; i < fFilterActions.length; i++) {
			menu.remove(fFilterActions[i].getId());
		}
		for (int i= fFilterActions.length-1; i >= 0 ; i--) {
			if (shouldEnable(result, fFilterActions[i]))
				menu.prependToGroup(GROUP_FILTERING, fFilterActions[i]);
		}
		
		menu.updateAll(true);
		bars.updateActionBars();
	}
	private boolean shouldEnable(JavaSearchResult result, FilterAction filterAction) {
		if (result == null) {
			return false;
		}
		JavaSearchQuery query= (JavaSearchQuery) result.getQuery();
		if (query == null)
			return false;
		return filterAction.getFilter().isApplicable(query);
	}