SWT:Eclipse Luna win8.1中没有更多句柄

时间:2014-11-20 14:31:22

标签: eclipse swt windowbuilder

我有一台带有Windows 8.1的HP PC,带有2台显示器,我使用带有SWT的Eclipse Luna。我开发了一个工具,它有一个带有3个复合材料的对话框(一个带有一个表,一个带有按钮,一个带有标签和一个进度条)。我写这篇文章是因为在用formLayouts改变绝对布局之前我还没有遇到过这个问题。现在,如果我点击Window Builder中的设计器选项卡,我会得到以下弹出窗口:

No more handles

(详情>>显示完全相同的消息)

点击确定后,它说:WindowBuilder无法显示GUI。

WindowBuilder遇到意外的内部错误。

堆栈跟踪是:

org.eclipse.swt.SWTError: No more handles [GetLastError=0x57]
at org.eclipse.swt.SWT.error(SWT.java:4467)
at org.eclipse.swt.graphics.Image.init(Image.java:1583)
at org.eclipse.swt.graphics.Image.<init>(Image.java:180)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.makeShot(OSSupportWin32.java:118)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.makeShotsHierarchy(OSSupportWin32.java:101)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.makeShotsHierarchy(OSSupportWin32.java:106)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.makeShotsHierarchy(OSSupportWin32.java:106)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.makeShotsHierarchy(OSSupportWin32.java:106)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.makeShots(OSSupportWin32.java:66)
at org.eclipse.wb.internal.rcp.support.ToolkitSupportImpl.makeShots(ToolkitSupportImpl.java:63)
at org.eclipse.wb.internal.swt.support.ToolkitSupport.makeShots(ToolkitSupport.java:59)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.createShotImages(ControlInfo.java:256)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:182)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:157)
at org.eclipse.wb.internal.rcp.model.jface.WindowInfo.refresh_fetch(WindowInfo.java:218)
at org.eclipse.wb.core.model.ObjectInfo$6$1.run(ObjectInfo.java:496)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:145)
at org.eclipse.wb.core.model.ObjectInfo$6.run(ObjectInfo.java:494)
at org.eclipse.wb.core.model.ObjectInfo.execRefreshOperation(ObjectInfo.java:514)
at org.eclipse.wb.core.model.ObjectInfo.refresh(ObjectInfo.java:492)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:580)
at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:522)
at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:449)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:446)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:465)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:415)
at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)
at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:263)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:241)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:782)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3110)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1794)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

程序运行正常,我没有注意到GUI在运行时出现任何问题。

我找到了这个问题,但我找到的所有答案都没有给我工作(检查过程,司机,其他软件等)希望我没有忘记写任何相关信息。

1 个答案:

答案 0 :(得分:0)

对我来说,通过关闭“nVidia Desktop Manager”来修复它。

其他人通过关闭“DisplayFussion”等其他DeskTop管理器应用来解决问题。