所有日食' windowbuilder(无论是swing还是gwt)我表现得很奇怪...添加每个新组件或小部件会使所有IDE失去焦点(变为禁用);我注意到我在我的" eclipse 3.7 indigo j2ee x64 for linux "叫:
未处理的事件循环异常
...每次我在我的日食中添加一个小部件(这里是详细的):
org.eclipse.swt.SWTError: XPCOM error -2147467259
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2502)
at org.eclipse.swt.browser.Mozilla.initXULRunner(Mozilla.java:2464)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:672)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at org.eclipse.wb.internal.css.dialogs.style.RulePreviewControl.<init>(RulePreviewControl.java:40)
at org.eclipse.wb.internal.css.editors.multi.StylesEditComposite.createRuleGroup(StylesEditComposite.java:474)
at org.eclipse.wb.internal.css.editors.multi.StylesEditComposite.createContents(StylesEditComposite.java:196)
at org.eclipse.wb.internal.css.editors.multi.StylesEditComposite.<init>(StylesEditComposite.java:101)
at com.google.gdt.eclipse.designer.model.property.css.StylesEditComposite.<init>(StylesEditComposite.java:74)
at com.google.gdt.eclipse.designer.model.property.css.StylesEditDialog.createAreaContents(StylesEditDialog.java:88)
at com.google.gdt.eclipse.designer.model.property.css.StylesEditDialog.createDialogArea(StylesEditDialog.java:83)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at com.google.gdt.eclipse.designer.model.widgets.SelectionActionsSupport$CssEditAction.run(SelectionActionsSupport.java:91)
at org.eclipse.wb.internal.core.editor.actions.DesignPageAction.run(DesignPageAction.java:34)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
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.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
和会话数据:
eclipse.buildId=M20120208-0800
java.version=1.7.0_71
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product --launcher.GTK_version 2 org.eclipse.platform
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product --launcher.GTK_version 2 org.eclipse.platform
...只有IDE窗口调整大小才能获得焦点,因此,我很难使用eclipse IDE; 这种情况发生在我试图使用GUI IDE工具的每次日食中:
所以我的问题是......导致错误的原因以及如何解决错误?
由于