SWTError: No more handles

Hello,

This is the first time I have seen the error below (although other eclipse users have reported it) which does not make Knime to start. It does happen with version 2.11.2 and the latest 2.11.3. As suggested by others, I did perform a Win7 update (so also restarted the machine), increased the -XX:MaxPermSize to 1024m but it does not solve the issue. It does not seem to exist a common solution to the issue that’s the most upsetting thing.

 

Any help would be very much appreciated.

 

!ENTRY org.eclipse.osgi 4 0 2015-06-10 12:20:18.751

!MESSAGE Application error

!STACK 1

org.eclipse.swt.SWTError: No more handles

     at org.eclipse.swt.SWT.error(SWT.java:4467)

     at org.eclipse.swt.SWT.error(SWT.java:4356)

     at org.eclipse.swt.SWT.error(SWT.java:4327)

     at org.eclipse.swt.widgets.Widget.error(Widget.java:476)

     at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:103)

     at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:96)

     at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2567)

     at org.eclipse.ui.internal.WorkbenchWindow.createProgressIndicator(WorkbenchWindow.java:3369)

     at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1137)

     at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:623)

     at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:300)

     at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1043)

     at org.eclipse.jface.window.Window.create(Window.java:431)

     at org.eclipse.ui.internal.Workbench$68.runWithException(Workbench.java:3664)

     at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)

     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)

     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)

     at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)

     at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1600)

     at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)

     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)

     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)

     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2609)

     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)

     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

     at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:130)

     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

     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.equinox.launcher.Main.invokeFramework(Main.java:622)

     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

     at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

 

I am not sure what might be the problem (not familiar with SWT), but maybe the not-yet-released preview of 2.12 does not trigger this problem. Have you tried it (as a separate installation), could you check it?

Thanks, gabor

Thanks Aborg,

 

It worked.