Bug 169879 [Dialogs] Runtime exception in DialogTray.createContents() creates zombie dialog
3.3M4 1) Create a DialogTray that will throw an NPE in its createContents() method 2) Create a TrayDialog and set its tray to the above tray 3) attempt to close the dialog You will get NPEs in closeTray() that result in a Dialog that cannot be closed. This is especially bad if it's modal.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
private static boolean dialogHelpAvailable;
	/*
	 * The dialog's tray (null if none).
	 */
	private DialogTray tray;
	/*
	 * The tray's control.
	 */
	private Control trayControl;
	
	/*
	 * The separator to the left of the sash.
	 */
	private Label leftSeparator;
	
	/*
	 * The separator to the right of the sash.
	 */
	private Label rightSeparator;
	
	/*
	 * The sash that allows the user to resize the tray.
	 */
	private Sash sash;
	
	/*
	 * Whether or not help is available for this dialog.
	 */
	private boolean helpAvailable = isDialogHelpAvailable();