Bug 243165 [ErrorHandling] [StatusHandling] Fatal error appears twice when reported from JOB
When a job reports fatal error (f.e. OutOfMemoryException) it is reported twice (and the window prompting the user to close the workbench appears). I have investigated that it is reported directly once in ProgressManager internal listener done method, and the second report is picked from log via StatusManager StatusManagerLogListener.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchErrorHandler.java
}
		try {
			closing = true;
			if (dialog != null && dialog.getShell() != null
					&& !dialog.getShell().isDisposed()) {
				dialog.close();
			}
			
			if (workbenchConfigurer != null)
				workbenchConfigurer.emergencyClose();
		} catch (RuntimeException re) {
			
			
			
			System.err
					.println("Fatal runtime error happened during workbench emergency close."); 
			re.printStackTrace();
			throw re;
		} catch (Error e) {
			
			
			
			System.err
					.println("Fatal error happened during workbench emergency close."); 
			e.printStackTrace();
			throw e;
		}
	}
	private class FatalErrorDialog extends InternalErrorDialog {
		/**