Topic
  • No replies
Dustan
Dustan
1 Post

Pinned topic What is causing org.eclipse.swt.SWTError: No more handles?

‏2013-09-06T06:55:02Z |

When switching from from Functional Test Projects view to Java text editor, no more handles error occurs.

I came across this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=402983. The problem at first did seem to be related to having multiple monitors, as it only occurs on machines with external displays. However after disconnecting the monitors, the problem persists.

The only resolution so far has been to downgrade to 8.3.0.2.

 

Any suggestions as to what is causing this with 8.5?

Stack Trace:

org.eclipse.swt.SWTError: No more handles
                at org.eclipse.swt.SWT.error(SWT.java:4387)
                at org.eclipse.swt.SWT.error(SWT.java:4276)
                at org.eclipse.swt.SWT.error(SWT.java:4247)
                at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
                at org.eclipse.swt.widgets.Control.createHandle(Control.java:704)
                at org.eclipse.swt.widgets.Label.createHandle(Label.java:199)
                at org.eclipse.swt.widgets.Control.createWidget(Control.java:744)
                at org.eclipse.swt.widgets.Control.<init>(Control.java:112)
                at org.eclipse.swt.widgets.Label.<init>(Label.java:101)
                at org.eclipse.ui.texteditor.StatusLineContributionItem.fill(StatusLineContributionItem.java:182)
                at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:59)
                at org.eclipse.jface.action.StatusLineManager.update(StatusLineManager.java:327)
                at org.eclipse.ui.internal.WorkbenchPage.updateActivations(WorkbenchPage.java:265)
                at org.eclipse.ui.internal.WorkbenchPage.access$15(WorkbenchPage.java:243)
                at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:172)
                at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$2.run(PartServiceImpl.java:193)
                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
                at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:191)
                at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:596)
                at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:549)
                at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:105)
                at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$1.handleEvent(ContributedPartRenderer.java:61)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
                at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1447)
                at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:2328)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4572)
                at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
                at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
                at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4989)
                at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
                at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2541)
                at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4989)
                at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
                at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2541)
                at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4989)
                at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
                at org.eclipse.swt.