Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Occasional Exit hang/crash
Occasional Exit hang/crash [message #785180] Sat, 28 January 2012 16:14
John Lussmyer is currently offline John LussmyerFriend
Messages: 100
Registered: December 2010
Senior Member
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?
Previous Topic:DeltaPack 3.6.2 using Eclipse 4.1 - export fails
Next Topic:FilteredTree with TreeViewerColumns?
Goto Forum:
  


Current Time: Fri Dec 04 06:10:09 GMT 2020

Powered by FUDForum. Page generated in 0.02119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top