Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] org.eclipse.swt.SWTError: No more handles


Can't tell.  I just pointed him to the document that says "You need to free resources in SWT.".  It's possible that Eclipse is leaking or that his plugin is leaking, causing Eclipse to crash.



Mike Wilson/Ottawa/IBM@IBMCA
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

04/25/2003 01:57 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-swt-dev] org.eclipse.swt.SWTError: No more handles




Steve, do you believe he is seeing a problem in his own code, or that he is just running up against the limitations of running Eclipse in Win98? The document you reference is a general introduction to the problem, but isn't really an answer to his question.


McQ.



Steve Northover/Ottawa/IBM@IBMCA
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

24/04/03 09:32
Please respond to platform-swt-dev

       
       To:        platform-swt-dev@xxxxxxxxxxx

       cc:        platform-swt-dev@xxxxxxxxxxx, platform-swt-dev-admin@xxxxxxxxxxx

       Subject:        Re: [platform-swt-dev] org.eclipse.swt.SWTError: No more handles





http://eclipse.org/articles/swt-design-2/swt-design-2.html

"Igor S. Zamyatin" <isz@xxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

04/24/2003 02:13 AM
Please respond to platform-swt-dev

       
      To:        <platform-swt-dev@xxxxxxxxxxx>

      cc:        

      Subject:        Re: [platform-swt-dev] org.eclipse.swt.SWTError: No more handles





Hmmm... I have the same problem. There appears dialog "SWT Internal Error".
More exact Eclipse diagnostic is:

!ENTRY org.eclipse.ui 4 4 ╨?╨┐╤А 23, 2003 14:34:18.890
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 ╨?╨┐╤А 23, 2003 14:34:18.890
!MESSAGE No more handles
!STACK 0
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:2144)
at org.eclipse.swt.SWT.error(SWT.java:2051)
at org.eclipse.swt.graphics.Image.<init>(Image.java:277)
at
org.eclipse.ui.internal.EditorWorkbook.updateEditorTab(EditorWorkbook.java:8
68)
at
org.eclipse.ui.internal.EditorWorkbook.updateEditorTab(EditorWorkbook.java:8
22)
at
org.eclipse.ui.internal.EditorWorkbook.propertyChanged(EditorWorkbook.java:5
15)
at org.eclipse.ui.part.WorkbenchPart$1.run(WorkbenchPart.java:95)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:831)
at org.eclipse.core.runtime.Platform.run(Platform.java:416)
at
org.eclipse.ui.part.WorkbenchPart.firePropertyChange(WorkbenchPart.java:93)
at
org.eclipse.ui.texteditor.AbstractTextEditor.firePropertyChange(AbstractText
Editor.java:3232)
at org.eclipse.ui.part.WorkbenchPart.setTitleImage(WorkbenchPart.java:247)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeTitle(AbstractTextEdi
tor.java:1772)
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.j
ava:1828)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:
172)
at
org.eclipse.ui.texteditor.AbstractTextEditor.setInput(AbstractTextEditor.jav
a:1843)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.openEditorAndSetMarker
(LaunchView.java:603)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.showMarkerForCurrentSe
lection(LaunchView.java:492)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.selectionChanged(Launc
hView.java:326)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:147)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.
java:1155)

at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.jav
a:544)
at
org.eclipse.jface.viewers.StructuredViewer$1.widgetSelected(StructuredViewer
.java:568)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:171
)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:168)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
a:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
at org.eclipse.core.launcher.Main.run(Main.java:698)
at org.eclipse.core.launcher.Main.main(Main.java:534)


Igor S. Zamyatin
Interstron Ltd.
www.interstron.ru


----- Original Message -----
From: "vs" <xiaotengfei@xxxxxxx>
To: <platform-swt-dev@xxxxxxxxxxx>
Sent: Thursday, April 24, 2003 9:37 AM
Subject: [platform-swt-dev] org.eclipse.swt.SWTError: No more handles


> When I  running my swt program under windows98,  it throws this problem:
>
> org.eclipse.swt.SWTError: No more handles
>
> and it is all ok under windows2000 and windows xp.
>
> What can I do to remove this problem?
>


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev





Back to the top