Project: Eclipse_Platform_UI
Bug 41377 [Progress] NPE in progres view while cancelling a job
Reported: 2003-08-11 10:10:44 | Status: closed fixed

I20030806 I was trying to cancel a job that was running in the progress view. I was going a bit balistic on the cancel button because the job wasn't terminating as quickly as I would like. Here is the stack trace: Thread [main] (Suspended (exception NullPointerException)) ProgressView$4.run() line: 189 ProgressView$4(Action).runWithEvent(Event) line: 842 ActionContributionItem.handleWidgetSelection(Event, boolean) line: 542 ActionContributionItem.access$4(ActionContributionItem, Event, boolean) line: 496 ActionContributionItem$6.handleEvent(Event) line: 468 EventTable.sendEvent(Event) line: 82 MenuItem(Widget).sendEvent(Event) line: 848 Display.runDeferredEvents() line: 2188 Display.readAndDispatch() line: 1878 Workbench.runEventLoop(Window$IExceptionHandler) line: 1680 Workbench.run(Object) line: 1663 InternalBootLoader.run(String, URL, String, String[], Runnable) line: 858 BootLoader.run(String, URL, String, String[], Runnable) line: 461 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: 291 Main.run(String[]) line: 747 Main.main(String[]) line: 583

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