Eclipse 4.3 Java EE中未处理的事件循环异常

时间:2014-06-12 09:29:10

标签: eclipse java-ee glassfish

我正在尝试使用本教程Java EE/Glassfish Tutorial执行Java EE的第一步 我在带有两个显示器的Windows 7 32位PC上使用最新的glassfish,eclipse和java版本。但是在服务器上运行servlet时出现以下错误。 错误日志的前几行:

消息:未处理的事件循环异常
    java.lang.StackOverflowError的
    在org.eclipse.swt.internal.ole.win32.COM.VtblCall(原生方法)
    在org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
    在org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:571)
    在org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:534)
    在org.eclipse.swt.browser.IE.navigate(IE.java:1285)
    在org.eclipse.swt.browser.IE.setUrl(IE.java:1464)
    在org.eclipse.swt.browser.IE $ 7.handleEvent(IE.java:542)
    在org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTable.java:55)
    在org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEventSink.java:152)
    在org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.java:120)
    在org.eclipse.swt.ole.win32.OleEventSink.access $ 1(OleEventSink.java:97)
    在org.eclipse.swt.ole.win32.OleEventSink $ 1.method6(OleEventSink.java:71)
    在org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    ...
前几行重复约50次,直至结束:
    在org.eclipse.swt.internal.ole.win32.COM.VtblCall(原生方法)
    在org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
    在org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:571)
    在org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:534)
    在org.eclipse.swt.browser.IE.navigate(IE.java:1285)
    在org.eclipse.swt.browser.IE.setUrl(IE.java:1464)
    在org.eclipse.swt.browser.Browser.setUrl(Browser.java:1125)
    在org.eclipse.ui.internal.browser.BrowserViewer.navigate(BrowserViewer.java:625)
    在org.eclipse.ui.internal.browser.BrowserViewer.setURL(BrowserViewer.java:666)
    在org.eclipse.ui.internal.browser.BrowserViewer.setURL(BrowserViewer.java:287)
    at org.eclipse.ui.internal.browser.BrowserViewer $ 10.handleEvent(BrowserViewer.java:736)
    在org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    在org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
    在org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
    在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
    在org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine $ 9.run(PartRenderingEngine.java:1113)
    在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    在org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
    在org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
    在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:610)
    在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    在org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
    在org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    在java.lang.reflect.Method.invoke(未知来源)
    在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    在org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    在org.eclipse.equinox.launcher.Main.run(Main.java:1450)

会话数据:
eclipse.buildId = 4.3.0.M20130911-1000
java.version = 1.7.0_45
java.vendor = Oracle公司
BootLoader常量:OS = win32,ARCH = x86,WS = win32,NL = de_DE
框架参数:-product org.eclipse.epp.package.jee.product
命令行参数:-os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

希望你们中的一些人猜测问题可能是什么。我已经尝试了一个全新的java,eclipse,glassfish等安装。甚至在eclipse 3.7上降级。这里的其他条目认为两个监视器可能是原因,但我也尝试关闭一个监视器。

0 个答案:

没有答案