Bug 61709 NPE in JUnit view plus strange behavior
I200405060200 + plug-in export for I200405110800 I was running two JUnit plug-in tests from two different workbench window (maybe I switched to early from one window to the other). I then saw very odd behavior: the JUnit view switched showing results from both tests (see attached picture which shows that the jdt.ui.tests are run but a result from the refactoring tests is reported (below title). The cause for this might be the following NPE(?):
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestHierarchyTab.java
if (!fMoveSelection) {
			fMoveSelection= true;
			if (isLeafFailure(selection)) {
				selectTest(selection);
				return false;
			}
		}
		return true;
	}
	private TreeItem getInitialSearchSelection() {
		TreeItem[] treeItems= fTree.getSelection();	
		TreeItem selection= null;
		
		if (treeItems.length == 0)	
			selection= fTree.getItems()[0];
		else
			selection= treeItems[0];
		return selection;
	}
	private boolean isFailure(TreeItem selection) {
		return !(getTestRunInfo(selection).getStatus() == ITestRunListener.STATUS_OK);
	}
	private boolean isLeafFailure(TreeItem selection) {
		boolean isLeaf= selection.getItemCount() == 0;
		return isLeaf && isFailure(selection);
	}
	private void selectTest(TreeItem selection) {
		fTestRunnerPart.showTest(getTestRunInfo(selection));
	}
	private TreeItem findFailure(TreeItem start, boolean next, boolean includeNode) {