Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Eclipse does not close until GEF editor is closed(Eclipse does not close until GEF editor is closed)
Eclipse does not close until GEF editor is closed [message #757794] Mon, 21 November 2011 17:29 Go to next message
Roi Rodriguez is currently offline Roi RodriguezFriend
Messages: 1
Registered: November 2011
Junior Member

I've developed a GEF editor application. For some reason, when i click the eclipse IDE "close" button it does not actually close the IDE until i close my opened GEF editors or delete all figures from them.

After closing editors or deleting figures eclipse gets closed, throwing the following exception:

!ENTRY org.eclipse.ui 4 0 2011-11-21 18:17:52.489
!MESSAGE Unhandled event loop exception
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(
at org.eclipse.ui.internal.WorkbenchWindow.access$0(
at org.eclipse.ui.internal.WorkbenchWindow$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.ui.internal.WorkbenchWindow.close(
at org.eclipse.jface.window.Window.handleShellCloseEvent(
at org.eclipse.jface.window.Window$3.shellClosed(
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Shell.closeWidget(
at org.eclipse.swt.widgets.Shell.gtk_delete_event(
at org.eclipse.swt.widgets.Widget.windowProc(
at org.eclipse.swt.widgets.Control.windowProc(
at org.eclipse.swt.widgets.Display.windowProc(
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(
at org.eclipse.swt.widgets.Display.eventProc(
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

I know this won't be enough information to help me solve the issue, but i'm really lost. I don't know what to trace or whatever... Any clues?
Re: Eclipse does not close until GEF editor is closed [message #774645 is a reply to message #757794] Wed, 04 January 2012 10:38 Go to previous message
Karthikeyan Missing name is currently offline Karthikeyan Missing nameFriend
Messages: 47
Registered: July 2011

Kindly check whether you have done any paintFigure in your corresponding figure class. Sometimes it may execute your loop and it wont close. First of all identify when it happens and what are all the shapes available in the editor.

Thanks & Regards,

[Updated on: Wed, 04 January 2012 10:39]

Report message to a moderator

Previous Topic:Scaled SWTGraphics draws
Next Topic:GEF documentation is not included on the on-line version of latest release of eclipse help.
Goto Forum:

Current Time: Sun Oct 17 01:44:17 GMT 2021

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

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

Back to the top