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/ui/TestRunnerViewPart.java
}
	private void clearStatus() {
		getStatusLine().setMessage(null);
		getStatusLine().setErrorMessage(null);
	}
    public void setFocus() {
    	if (fActiveRunView != null)
    		fActiveRunView.setFocus();
    }
    public void createPartControl(Composite parent) {		
		fClipboard= new Clipboard(parent.getDisplay());
		GridLayout gridLayout= new GridLayout();
		gridLayout.marginWidth= 0;
		parent.setLayout(gridLayout);
		IActionBars actionBars= getViewSite().getActionBars();
		IToolBarManager toolBar= actionBars.getToolBarManager();
		fRerunLastTestAction= new RerunLastAction();
		fRerunLastTestAction.setActionDefinitionId("org.eclipse.jdt.junit.reruntest"); 
		toolBar.add(new StopAction());
		toolBar.add(fRerunLastTestAction);
		actionBars.updateActionBars();
		
		Composite counterPanel= createProgressCountPanel(parent);
		counterPanel.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL));
		SashForm sashForm= createSashForm(parent);
		sashForm.setLayoutData(new GridData(GridData.FILL_BOTH));
		actionBars.setGlobalActionHandler(
			IWorkbenchActionConstants.COPY,
			new CopyTraceAction(fFailureView, fClipboard));
		JUnitPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);