Eclipse error please help

Hi i am Joe
could u help on this issue…

Error while informing user about event loop exception:
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:3375)
at org.eclipse.swt.SWT.error(SWT.java:3272)
at org.eclipse.swt.SWT.error(SWT.java:3243)
at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
at org.eclipse.swt.widgets.Control.createHandle(Control.java:508)
at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:235)
at org.eclipse.swt.widgets.ToolBar.createHandle(ToolBar.java:231)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:523)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:131)
at org.eclipse.swt.widgets.ToolBar.createWidget(ToolBar.java:331)
at org.eclipse.swt.widgets.Control.(Control.java:98)
at org.eclipse.swt.widgets.Scrollable.(Scrollable.java:72)
at org.eclipse.swt.widgets.Composite.(Composite.java:93)
at org.eclipse.swt.widgets.ToolBar.(ToolBar.java:98)
at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:99)
at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:190)
at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:912)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2644)
at org.eclipse.ui.internal.WorkbenchWindow.largeUpdateEnd(WorkbenchWindow.java:2693)
at org.eclipse.ui.internal.Workbench.largeUpdateEnd(Workbench.java:2684)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2328)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2317)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2303)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2298)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2283)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:384)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:347)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:327)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:673)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:432)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:780)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:816)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:778)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1009)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1108)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:244)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:239)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:278)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Dialog open exception:
java.lang.OutOfMemoryError: Java heap space

when a project is opened and closed again and again in my added plugin environment i am getting this error…please help…

Hi Joe,

The log does not seem to be related to opening a SDE project. In fact, the exception does not involve accessing the SDE. May I know more about your action?

At the end of the exception there is an OutOfMemory. You may consider increasing the heap size of starting Eclipse. This will probably solve your problem.

Best regards,
Jick

Hi jick

Thank u for ur reply....    

i even tried increasing the heap size but it has no effect its crashing at the same point ,not even delayed .

let me explain whats happening.

i have added a plugin which itself has a editor where i can open, edit things save and close projects. now what happens is …

when i open the project in my editor and close again immediately nothing happens but when i do it repeatedly for 5 to 6 times its crashing and displaying the error.

Its crashing while opening the project …

The Popup message is"An error has occured while closing the workbench.please see the error log"…the error log contains the above mentioned error list…

expecting ur reply…

Regards
Joe.

What do you mean by project? A SDE project?

what i mean by project is nothing but a file created in my environment which i have edited through my editor (plugin),added to eclipse.am working with only eclipse …

I see. I thought it was about our project file or product… I regret that I am unable to help as I know little about Eclipse’s plugin development environment. Let see if anyone else can help. :smiley:

O.K Jick thank u for ur support …

Joe