Bug 128825 [navigation] Long pause and exceptions pressing Ctrl+O
Build: 3.2 M5 While waiting for a long CVS checkout, I was browsing through some Java code. I hit Ctrl+O to open the outline, typed some characters ("get"), and then hit Ctrl+O again to show inherited members. There was a pause, and then the outline view went blank. After that, toggling Ctrl+O or changing the filter text in the outline had no effect - the view was just blank. After closing the outline popup completely and reopening, it was behaving as expected. While doing this, a large number of OperationCanceledExceptions appeared in my log file (log attached).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
/**
		 * Returns the primary type of a compilation unit (has the same
		 * name as the compilation unit).
		 *
		 * @param compilationUnit the compilation unit
		 * @return returns the primary type of the compilation unit, or
		 * <code>null</code> if is does not have one
		 */
		private IType getMainType(ICompilationUnit compilationUnit) {
			if (compilationUnit == null)
				return null;
			return compilationUnit.findPrimaryType();
		}
		/**
		 * Returns the primary type of a class file.
		 *
		 * @param classFile the class file
		 * @return returns the primary type of the class file, or <code>null</code>
		 * if is does not have one
		 */
		private IType getMainType(IClassFile classFile) {
			try {
				IType type= classFile.getType();
				return type != null && type.exists() ? type : null;
			} catch (JavaModelException e) {
				return null;
			}
		}
	}
	private class ShowOnlyMainTypeAction extends Action {