Occasional Exit hang/crash [message #785180] |
Sat, 28 January 2012 11:14  |
Eclipse User |
|
|
|
Every now and then, when I click on the App Close button (Big Red X in upper right corner - Win7), the app doesn't close.
Nothing happens.
App is still functioning, and I can still use it.
So I goto the File menu, and select "Exit".
App closes - with an exception:
java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1708)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
etc...
Eclipse shows me that the offending LOC is the call to .deactivateHandlers().
Apparently handlerService is null.
final IHandlerService handlerService = (IHandlerService) workbench.getService(IHandlerService.class);
handlerService.deactivateHandlers(handlerActivations);
Is there something I'm doing that could cause this?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03478 seconds