Bug 36625 "Copy Trace" Action in "Failure Trace" View enabled for empty table.
The "Copy Trace" action should probably be hidden or unavailable when there is nothing in the "Failure Trace" view. Currently the user is given the option to copy a trace of nothing to the clipboard.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage2.java
IType currType= fClassToTest;
			ArrayList types= null;
			try {
				ITypeHierarchy hierarchy= currType.newSupertypeHierarchy(null);
				IType[] superTypes;
				if (currType.isClass())
					superTypes= hierarchy.getAllSuperclasses(currType);
				else if (currType.isInterface())
					superTypes= hierarchy.getAllSuperInterfaces(currType);
				else
					superTypes= new IType[0];
				types= new ArrayList(superTypes.length+1);
				types.add(currType);
				types.addAll(Arrays.asList(superTypes));
			} catch(JavaModelException e) {
				JUnitPlugin.log(e);
			}
			fMethodsTree.setContentProvider(new MethodsTreeContentProvider(types.toArray()));
			if (types == null)
				types= new ArrayList();
			fMethodsTree.setInput(types.toArray());
			fMethodsTree.setSelection(new StructuredSelection(currType), true);
			updateSelectedMethodsLabel();
			setFocus();
		}
	}
	/**
	 * Returns all checked methods in the Methods tree.
	 */
	public IMethod[] getCheckedMethods() {