Community
Participate
Working Groups
In an RCP app with the ProgressIndicator in the StatusBar is turned off. If you use the progress dialog to show a job's progress (via PlatformUI.getWorkbench().getProgressService().showInDialog(shell, job)) and the job has an exception or the user presses "Run in Background", it causes the following: java.lang.NullPointerException at org.eclipse.ui.internal.progress.ProgressManagerUtil.animateUp (ProgressManagerUtil.java:328) at org.eclipse.ui.internal.progress.ErrorNotificationDialog.initializeBounds (ErrorNotificationDialog.java:375) at org.eclipse.jface.window.Window.create(Window.java:351) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:925) at org.eclipse.jface.window.Window.open(Window.java:637) at org.eclipse.ui.internal.progress.ErrorNotificationManager$3.runInUIThread (ErrorNotificationManager.java:154) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434) A simple check in ProgressMonitorUtil.animateUp() to check whether the ProgressRegion is null should fix this.
*** Bug 76833 has been marked as a duplicate of this bug. ***
*** Bug 76834 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 90508 ***