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 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 105
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?
Re: Occasional Exit hang/crash [message #1860530 is a reply to message #785180] Sun, 13 August 2023 14:18 Go to previous message
Marco Lopes is currently offline Marco LopesFriend
Messages: 61
Registered: September 2010
Member
Same here , with eclipse 3.8!

It happens when the user tries to close the workbench more than one time (in the window X) and the workbench is busy...

This is clearly a BUG.
Previous Topic:Disabling the Inspection of Web Content in Apps
Next Topic:How to listen theme change event ??
Goto Forum:
  


Current Time: Fri Jun 21 14:12:00 GMT 2024

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

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

Back to the top