使用Eclipse时出现Unhandled event loop exception错误的有效解决办法

  最近使用Eclipse时总会在操作时不间断的出现Unhandled event loop exception  No more handles的情况。如下图

翻墙查找和国内百度得到答案总结如下

  • 删除workspace 工作区 重新新建工作区
  • 网上报百度杀毒引起 处理办法 关闭百度杀毒 或加ADT目录 和工作区加入白名单
  • 更新eclipse swt插件
  • 开发时关闭AdSafe软件 因为我的处理好之后再开Adsafe 软件 ,一直提示错误不断
  • 所有杀毒软件全部关了,结果错误 不再提示
  • 部分原因是因为AMD显卡问题 查找进程 关闭查到我的进程中有hydradm.exe hydradm64.exe两个,把他们杀掉后,eclipse就没有报错了。 
    为了在系统启动时,不再加载这两个进程,通过msconfig命令在启动项里取消了AMD HydraVision Desktop Manager和Catalyst Control Center,问题解决。

  • 以上的解决办法对我都不适用,最后我修改了一下 eclipse 配置内存(eclipse\jee-oxygen2\eclipse\eclipse.ini),重启Eclipse,我的问题就解决了,希望可以帮你解决这个问题,修改如下图

    补充:早上我修改完这个参数之后,是没有问题的,到下午的时候问题又出现了,之后我用360清理了一下垃圾,又好了
阅读更多
换一批

Unhandled event loop exception

01-14

我的工程中打开了两个级联的dialog,点右上角的红叉来关闭两个dialog时,会有下面的问题,还不能debug,debug就不会出现这个问题,有出现过的帮帮忙看下,谢谢!rnrn!ENTRY org.eclipse.ui 4 0 2013-01-14 17:23:10.240rn!MESSAGE Unhandled event loop exceptionrn!STACK 0rnjava.lang.NullPointerExceptionrn at org.eclipse.draw2d.SWTEventDispatcher.dispatchMousePressed(SWTEventDispatcher.java:243)rn at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:523)rn at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:191)rn at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)rn at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)rn at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)rn at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)rn at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)rn at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)rn at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)rn at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)rn at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)rn at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)rn at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)rn at com.csair.soc.tripedit.application.Application.start(Application.java:33)rn at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1410)rn at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

android helloword报错 Unhandled event loop exception

11-06

虚拟机上没反应 .log文件显示如下信息:rnrn!ENTRY org.eclipse.ui 4 0 2013-11-06 13:19:28.860rn!MESSAGE Unhandled event loop exceptionrn!STACK 0rnjava.lang.NoSuchMethodError: org.eclipse.debug.core.ILaunchManager.generateLaunchConfigurationName(Ljava/lang/String;)Ljava/lang/String;rnat com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.getLaunchConfig(AndroidLaunchController.java:208)rnat com.android.ide.eclipse.adt.internal.launch.LaunchShortcut.launch(LaunchShortcut.java:96)rnat com.android.ide.eclipse.adt.internal.launch.LaunchShortcut.launch(LaunchShortcut.java:70)rnat org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434)rnat org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:73)rnat org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:121)rnat org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)rnat org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)rnat org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)rnat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)rnat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)rnat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)rnat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)rnat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)rnat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)rnat org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)rnat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)rnat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)rnat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)rnat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)rnat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)rnat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)rnat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rnat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rnat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)rnat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rnat java.lang.reflect.Method.invoke(Method.java:597)rnat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)rnat org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rnat org.eclipse.equinox.launcher.Main.run(Main.java:1311)rnrnrnrnrnrn////////////////// 求指导啊rnrnrn

eclipseUnhandled event loop exception和No more handles的问题

07-09

我的问题是:rn安装后启动eclipse, 新建工程(或其他)点击next后出现对话框提示出错"an SWT error has occurred", 并提示是否退出workbench.rnrn操作系统 windows xprneclipse版本 3.1 未安装任何插件rnjdk版本 1.5.1_01rnrn环境变量:rnclasspath为,;D:\jdk1.5.0_01rnpath中加入了;D:\jdk1.5.0_01\binrnrnlog内容如下:rn!SESSION 2005-07-09 13:05:58.710 -----------------------------------------------rneclipse.buildId=I20050627-1435rnjava.version=1.5.0_02rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnCommand-line arguments: -os win32 -ws win32 -arch x86rnrn!ENTRY org.eclipse.ui 4 4 2005-07-09 13:13:36.748rn!MESSAGE Unhandled event loop exceptionrnrn!ENTRY org.eclipse.ui 4 0 2005-07-09 13:13:36.789rn!MESSAGE No more handlesrn!STACK 0rnorg.eclipse.swt.SWTError: No more handlesrn at org.eclipse.swt.SWT.error(SWT.java:2968)rn at org.eclipse.swt.SWT.error(SWT.java:2865)rn at org.eclipse.swt.SWT.error(SWT.java:2836)rn at org.eclipse.swt.widgets.Widget.error(Widget.java:395)rn at org.eclipse.swt.widgets.Control.createHandle(Control.java:482)rn at org.eclipse.swt.widgets.Link.createHandle(Link.java:174)rn at org.eclipse.swt.widgets.Control.createWidget(Control.java:497)rn at org.eclipse.swt.widgets.Link.createWidget(Link.java:188)rn at org.eclipse.swt.widgets.Control.(Control.java:97)rn at org.eclipse.swt.widgets.Link.(Link.java:87)rn at org.eclipse.ui.dialogs.PreferenceLinkArea.(PreferenceLinkArea.java:60)rn at org.eclipse.compare.internal.ComparePreferencePage.createTextComparePage(ComparePreferencePage.java:300)rn at org.eclipse.compare.internal.ComparePreferencePage.createContents(ComparePreferencePage.java:216)rn at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)rn at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1371)rn at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1138)rn at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)rn at org.eclipse.core.runtime.Platform.run(Platform.java:783)rn at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)rn at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)rn at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1132)rn at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)rn at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:638)rn at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)rn at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)rn at org.eclipse.core.runtime.Platform.run(Platform.java:783)rn at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)rn at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)rn at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)rn at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)rn at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)rn at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)rn at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)rn at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)rn at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)rn at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)rn at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)rn at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)rn at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)rn at org.eclipse.jface.window.Window.open(Window.java:787)rn at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)rn at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)rn at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)rn at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)rn at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)rn at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)rn at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)rn at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)rn at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)rn at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)rn at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)rn at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)rn at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)rn at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)rn at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:278)rn at org.eclipse.core.launcher.Main.run(Main.java:973)rn at org.eclipse.core.launcher.Main.main(Main.java:948)rn请教问题的解决方法, 不胜感激!

没有更多推荐了,返回首页