Project: Eclipse_Platform_UI
Bug 81674 [Progress] NPE in JobErrorDialog
Reported: 2004-12-20 15:07:00 | Status: verified fixed

3.1 M4 A background job returned an error, and this NPE occured. 1. Replace > with anothe branch or version 2. expand details (disconnect form network, in my case the repo was not accessible) 3. click the refresh tags button 4. click around, and dismiss the dialog. The error dialog the jogs error dialog opens when the existing modal dialog is closed. Thread [main] (Suspended (exception NullPointerException)) JobErrorDialog(ErrorDialog).toggleDetailsArea() line: 430 JobErrorDialog(ErrorDialog).showDetailsArea() line: 507 JobErrorDialog.refresh() line: 100 JobErrorDialog.initializeBounds() line: 456 JobErrorDialog(Window).create() line: 379 JobErrorDialog(Dialog).create() line: 983 JobErrorDialog(Window).open() line: 685 JobErrorDialog(ErrorDialog).open() line: 274 ErrorNotificationManager.openErrorDialog(String, String, ErrorInfo) line: 171 ErrorNotificationManager.access$2(ErrorNotificationManager, String, String, ErrorInfo) line: 157 ErrorNotificationManager$2.runInUIThread(IProgressMonitor) line: 131 UIJob$1.run() line: 96 RunnableLock.run() line: 35 UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 118 Display.runAsyncMessages(boolean) line: 2780 Display.readAndDispatch() line: 2451 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 1569 Workbench.runUI() line: 1540 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 285 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 144 IDEApplication.run(Object) line: 102 PlatformActivator$1.run(Object) line: 220 EclipseStarter.run(Object) line: 273 EclipseStarter.run(String[], Runnable) line: 129 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available Method.invoke(Object, Object[]) line: not available Main.basicRun(String[]) line: 185 Main.run(String[]) line: 710 Main.main(String[]) line: 694

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobErrorDialog.java