Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Help Need: No more handles
Help Need: No more handles [message #174924] Fri, 01 April 2005 16:40 Go to next message
Eclipse UserFriend
Originally posted by: giannopoulos.ced.tuc.gr

I have created a class diagram editor and when i add classes into the editor
it sometimes crashes and throws the following error message in stack:

!MESSAGE No more handles
!STACK 0
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:2717)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.SWT.error(SWT.java:2587)
at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256)
at
giannopoulos.propertySheets.PropertySheet.createTableComposi te(PropertySheet
..java:206)
at
giannopoulos.propertySheets.PropertySheet.selectionChanged(P ropertySheet.jav
a:104)
at
giannopoulos.outlineView.OutlineView.propertyChange(OutlineV iew.java:2072)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at
giannopoulos.object.PropertyAwareObject.firePropertyChange(P ropertyAwareObje
ct.java:37)
at giannopoulos.table.TableClass.modifyBounds(TableClass.java:1 89)
at giannopoulos.diagram.TableMoveCommand.execute(TableMoveComma nd.java:28)
at
org.eclipse.gef.commands.CompoundCommand.execute(CompoundCom mand.java:107)
at org.eclipse.gef.commands.CommandStack.execute(CommandStack.j ava:78)
at
org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(Workb enchPartAction.j
ava:76)
at org.eclipse.gef.ui.actions.AlignmentAction.run(AlignmentActi on.java:234)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:212)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContribu
tionItem.java:824)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
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.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)

Can anyone help me resolve this problem?
What causes it?

Thnx in advance...
Re: Help Need: No more handles [message #174941 is a reply to message #174924] Fri, 01 April 2005 16:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

You can probably download the last 100 messages from this forum. within
is a thread that discusses this exact topic.

CL

Nikos Giannopoulos wrote:
> I have created a class diagram editor and when i add classes into the editor
> it sometimes crashes and throws the following error message in stack:
>
Re: Help Need: No more handles [message #174957 is a reply to message #174924] Fri, 01 April 2005 17:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

something is greating controls and not disposing them.

"Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
news:d2jtlo$o62$1@news.eclipse.org...
>I have created a class diagram editor and when i add classes into the
>editor
> it sometimes crashes and throws the following error message in stack:
>
> !MESSAGE No more handles
> !STACK 0
> org.eclipse.swt.SWTError: No more handles
> at org.eclipse.swt.SWT.error(SWT.java:2717)
> at org.eclipse.swt.SWT.error(SWT.java:2616)
> at org.eclipse.swt.SWT.error(SWT.java:2587)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
> at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
> at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
> at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
> at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
> at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
> at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
> at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
> at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256
Re: Help Need: No more handles [message #175057 is a reply to message #174924] Fri, 01 April 2005 21:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: giannopoulos.ced.tuc.gr

Sleak isn't helpful because i have created a plug-in that uses its own
perspective....Any ideas?


"Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
news:d2jtlo$o62$1@news.eclipse.org...
> I have created a class diagram editor and when i add classes into the
editor
> it sometimes crashes and throws the following error message in stack:
>
> !MESSAGE No more handles
> !STACK 0
> org.eclipse.swt.SWTError: No more handles
> at org.eclipse.swt.SWT.error(SWT.java:2717)
> at org.eclipse.swt.SWT.error(SWT.java:2616)
> at org.eclipse.swt.SWT.error(SWT.java:2587)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
> at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
> at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
> at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
> at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
> at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
> at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
> at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
> at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256)
> at
>
giannopoulos.propertySheets.PropertySheet.createTableComposi te(PropertySheet
> .java:206)
> at
>
giannopoulos.propertySheets.PropertySheet.selectionChanged(P ropertySheet.jav
> a:104)
> at
> giannopoulos.outlineView.OutlineView.propertyChange(OutlineV iew.java:2072)
> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> at
>
giannopoulos.object.PropertyAwareObject.firePropertyChange(P ropertyAwareObje
> ct.java:37)
> at giannopoulos.table.TableClass.modifyBounds(TableClass.java:1 89)
> at
giannopoulos.diagram.TableMoveCommand.execute(TableMoveComma nd.java:28)
> at
> org.eclipse.gef.commands.CompoundCommand.execute(CompoundCom mand.java:107)
> at org.eclipse.gef.commands.CommandStack.execute(CommandStack.j ava:78)
> at
>
org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(Workb enchPartAction.j
> ava:76)
> at
org.eclipse.gef.ui.actions.AlignmentAction.run(AlignmentActi on.java:234)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
>
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:212)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:915)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> tem.java:866)
> at
>
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContribu
> tionItem.java:824)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:335)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> 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.basicRun(Main.java:183)
> at org.eclipse.core.launcher.Main.run(Main.java:644)
> at org.eclipse.core.launcher.Main.main(Main.java:628)
>
> Can anyone help me resolve this problem?
> What causes it?
>
> Thnx in advance...
>
>
Re: Help Need: No more handles [message #175073 is a reply to message #174924] Sat, 02 April 2005 01:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: giannopoulos.ced.tuc.gr

An additional notice:
On each element graphically presented i have attached an ImageFigure on it
to reveal it's type...could this cause the problem???

"Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
news:d2jtlo$o62$1@news.eclipse.org...
> I have created a class diagram editor and when i add classes into the
editor
> it sometimes crashes and throws the following error message in stack:
>
> !MESSAGE No more handles
> !STACK 0
> org.eclipse.swt.SWTError: No more handles
> at org.eclipse.swt.SWT.error(SWT.java:2717)
> at org.eclipse.swt.SWT.error(SWT.java:2616)
> at org.eclipse.swt.SWT.error(SWT.java:2587)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
> at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
> at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
> at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
> at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
> at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
> at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
> at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
> at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256)
> at
>
giannopoulos.propertySheets.PropertySheet.createTableComposi te(PropertySheet
> .java:206)
> at
>
giannopoulos.propertySheets.PropertySheet.selectionChanged(P ropertySheet.jav
> a:104)
> at
> giannopoulos.outlineView.OutlineView.propertyChange(OutlineV iew.java:2072)
> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> at
>
giannopoulos.object.PropertyAwareObject.firePropertyChange(P ropertyAwareObje
> ct.java:37)
> at giannopoulos.table.TableClass.modifyBounds(TableClass.java:1 89)
> at
giannopoulos.diagram.TableMoveCommand.execute(TableMoveComma nd.java:28)
> at
> org.eclipse.gef.commands.CompoundCommand.execute(CompoundCom mand.java:107)
> at org.eclipse.gef.commands.CommandStack.execute(CommandStack.j ava:78)
> at
>
org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(Workb enchPartAction.j
> ava:76)
> at
org.eclipse.gef.ui.actions.AlignmentAction.run(AlignmentActi on.java:234)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
>
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:212)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:915)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> tem.java:866)
> at
>
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContribu
> tionItem.java:824)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:335)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> 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.basicRun(Main.java:183)
> at org.eclipse.core.launcher.Main.run(Main.java:644)
> at org.eclipse.core.launcher.Main.main(Main.java:628)
>
> Can anyone help me resolve this problem?
> What causes it?
>
> Thnx in advance...
>
>
Re: Help Need: No more handles [message #175170 is a reply to message #175073] Mon, 04 April 2005 02:54 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Are you disposing the Images you provide?

"Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
news:d2krs6$um2$1@news.eclipse.org...
> An additional notice:
> On each element graphically presented i have attached an ImageFigure on it
> to reveal it's type...could this cause the problem???
>
> "Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
> news:d2jtlo$o62$1@news.eclipse.org...
> > I have created a class diagram editor and when i add classes into the
> editor
> > it sometimes crashes and throws the following error message in stack:
> >
> > !MESSAGE No more handles
> > !STACK 0
> > org.eclipse.swt.SWTError: No more handles
> > at org.eclipse.swt.SWT.error(SWT.java:2717)
> > at org.eclipse.swt.SWT.error(SWT.java:2616)
> > at org.eclipse.swt.SWT.error(SWT.java:2587)
> > at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
> > at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
> > at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
> > at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
> > at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
> > at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
> > at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
> > at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
> > at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256)
> > at
> >
>
giannopoulos.propertySheets.PropertySheet.createTableComposi te(PropertySheet
> > .java:206)
> > at
> >
>
giannopoulos.propertySheets.PropertySheet.selectionChanged(P ropertySheet.jav
> > a:104)
> > at
> >
giannopoulos.outlineView.OutlineView.propertyChange(OutlineV iew.java:2072)
> > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> > at
> >
>
giannopoulos.object.PropertyAwareObject.firePropertyChange(P ropertyAwareObje
> > ct.java:37)
> > at giannopoulos.table.TableClass.modifyBounds(TableClass.java:1 89)
> > at
> giannopoulos.diagram.TableMoveCommand.execute(TableMoveComma nd.java:28)
> > at
> >
org.eclipse.gef.commands.CompoundCommand.execute(CompoundCom mand.java:107)
> > at org.eclipse.gef.commands.CommandStack.execute(CommandStack.j ava:78)
> > at
> >
>
org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(Workb enchPartAction.j
> > ava:76)
> > at
> org.eclipse.gef.ui.actions.AlignmentAction.run(AlignmentActi on.java:234)
> > at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> > at
> >
>
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:212)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> > ContributionItem.java:915)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> > tem.java:866)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContribu
> > tionItem.java:824)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> > at
> >
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> > at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> > at
> >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> > java:335)
> > at
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> > at
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> > 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.basicRun(Main.java:183)
> > at org.eclipse.core.launcher.Main.run(Main.java:644)
> > at org.eclipse.core.launcher.Main.main(Main.java:628)
> >
> > Can anyone help me resolve this problem?
> > What causes it?
> >
> > Thnx in advance...
> >
> >
>
>
Re: Help Need: No more handles [message #175178 is a reply to message #175057] Mon, 04 April 2005 02:54 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
news:d2kga4$ioa$1@news.eclipse.org...
> Sleak isn't helpful because i have created a plug-in that uses its own
> perspective....Any ideas?

So? It should still show you leaks of graphical resources.

>
>
> "Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
> news:d2jtlo$o62$1@news.eclipse.org...
> > I have created a class diagram editor and when i add classes into the
> editor
> > it sometimes crashes and throws the following error message in stack:
> >
> > !MESSAGE No more handles
> > !STACK 0
> > org.eclipse.swt.SWTError: No more handles
> > at org.eclipse.swt.SWT.error(SWT.java:2717)
> > at org.eclipse.swt.SWT.error(SWT.java:2616)
> > at org.eclipse.swt.SWT.error(SWT.java:2587)
> > at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
> > at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
> > at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
> > at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
> > at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
> > at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
> > at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
> > at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
> > at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256)
> > at
> >
>
giannopoulos.propertySheets.PropertySheet.createTableComposi te(PropertySheet
> > .java:206)
> > at
> >
>
giannopoulos.propertySheets.PropertySheet.selectionChanged(P ropertySheet.jav
> > a:104)
> > at
> >
giannopoulos.outlineView.OutlineView.propertyChange(OutlineV iew.java:2072)
> > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
> > at
> >
>
giannopoulos.object.PropertyAwareObject.firePropertyChange(P ropertyAwareObje
> > ct.java:37)
> > at giannopoulos.table.TableClass.modifyBounds(TableClass.java:1 89)
> > at
> giannopoulos.diagram.TableMoveCommand.execute(TableMoveComma nd.java:28)
> > at
> >
org.eclipse.gef.commands.CompoundCommand.execute(CompoundCom mand.java:107)
> > at org.eclipse.gef.commands.CommandStack.execute(CommandStack.j ava:78)
> > at
> >
>
org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(Workb enchPartAction.j
> > ava:76)
> > at
> org.eclipse.gef.ui.actions.AlignmentAction.run(AlignmentActi on.java:234)
> > at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> > at
> >
>
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:212)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> > ContributionItem.java:915)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> > tem.java:866)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContribu
> > tionItem.java:824)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> > at
> >
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> > at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> > at
> >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> > java:335)
> > at
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> > at
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> > 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.basicRun(Main.java:183)
> > at org.eclipse.core.launcher.Main.run(Main.java:644)
> > at org.eclipse.core.launcher.Main.main(Main.java:628)
> >
> > Can anyone help me resolve this problem?
> > What causes it?
> >
> > Thnx in advance...
> >
> >
>
>
Re: Help Need: No more handles [message #175271 is a reply to message #175170] Mon, 04 April 2005 08:09 Go to previous message
Eclipse UserFriend
Originally posted by: giannopoulos.ced.tuc.gr

I solved the problem...I was creating a property sheet which could update
its content and i didn't dispose the controls i was creating...thnx for your
help

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d2qad8$n1q$1@news.eclipse.org...
> Are you disposing the Images you provide?
>
> "Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
> news:d2krs6$um2$1@news.eclipse.org...
> > An additional notice:
> > On each element graphically presented i have attached an ImageFigure on
it
> > to reveal it's type...could this cause the problem???
> >
> > "Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
> > news:d2jtlo$o62$1@news.eclipse.org...
> > > I have created a class diagram editor and when i add classes into the
> > editor
> > > it sometimes crashes and throws the following error message in stack:
> > >
> > > !MESSAGE No more handles
> > > !STACK 0
> > > org.eclipse.swt.SWTError: No more handles
> > > at org.eclipse.swt.SWT.error(SWT.java:2717)
> > > at org.eclipse.swt.SWT.error(SWT.java:2616)
> > > at org.eclipse.swt.SWT.error(SWT.java:2587)
> > > at org.eclipse.swt.widgets.Widget.error(Widget.java:381)
> > > at org.eclipse.swt.widgets.Control.createHandle(Control.java:46 2)
> > > at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:173)
> > > at org.eclipse.swt.widgets.Control.createWidget(Control.java:47 7)
> > > at
org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:129)
> > > at org.eclipse.swt.widgets.Control.<init>(Control.java:91)
> > > at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
> > > at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
> > > at giannopoulos.propertySheets.ClassSheet.<init>(ClassSheet.java:256)
> > > at
> > >
> >
>
giannopoulos.propertySheets.PropertySheet.createTableComposi te(PropertySheet
> > > .java:206)
> > > at
> > >
> >
>
giannopoulos.propertySheets.PropertySheet.selectionChanged(P ropertySheet.jav
> > > a:104)
> > > at
> > >
> giannopoulos.outlineView.OutlineView.propertyChange(OutlineV iew.java:2072)
> > > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown
Source)
> > > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown
Source)
> > > at
> > >
> >
>
giannopoulos.object.PropertyAwareObject.firePropertyChange(P ropertyAwareObje
> > > ct.java:37)
> > > at giannopoulos.table.TableClass.modifyBounds(TableClass.java:1 89)
> > > at
> > giannopoulos.diagram.TableMoveCommand.execute(TableMoveComma nd.java:28)
> > > at
> > >
> org.eclipse.gef.commands.CompoundCommand.execute(CompoundCom mand.java:107)
> > > at
org.eclipse.gef.commands.CommandStack.execute(CommandStack.j ava:78)
> > > at
> > >
> >
>
org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(Workb enchPartAction.j
> > > ava:76)
> > > at
> > org.eclipse.gef.ui.actions.AlignmentAction.run(AlignmentActi on.java:234)
> > > at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> > > at
> > >
> >
>
org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetA ction.java:212)
> > > at
> > >
> >
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> > > ContributionItem.java:915)
> > > at
> > >
> >
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> > > tem.java:866)
> > > at
> > >
> >
>
org.eclipse.jface.action.ActionContributionItem$8.handleEven t(ActionContribu
> > > tionItem.java:824)
> > > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> > > at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> > > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> > > at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> > > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> > > at
> > >
> >
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> > > at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> > > at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> > > at
> > >
> >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> > > java:335)
> > > at
> > >
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> > > at
> > >
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> > > 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.basicRun(Main.java:183)
> > > at org.eclipse.core.launcher.Main.run(Main.java:644)
> > > at org.eclipse.core.launcher.Main.main(Main.java:628)
> > >
> > > Can anyone help me resolve this problem?
> > > What causes it?
> > >
> > > Thnx in advance...
> > >
> > >
> >
> >
>
>
Previous Topic:Find max available space for figure in ToolbarLayout
Next Topic:REPOST - BendPoint Connection - What all to do?
Goto Forum:
  


Current Time: Mon Jan 30 19:08:37 GMT 2023

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

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

Back to the top