eclipse 3.1.1自动关闭,为何?

s_phoenix 2005-10-14 08:51:46
eclipse 3.1.1+中文语言包+Myeclipse 4.02+NitroX 3,常常在开启一个复杂的properties文件时,出现ide自动关闭的情况,此时未保存的修改全部丢失。
检查log,发现如下字样:
!ENTRY org.eclipse.ui 4 4 2005-10-13 17:13:41.734
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2005-10-13 17:13:41.734
!MESSAGE No more handles
!STACK 0
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:2968)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.SWT.error(SWT.java:2836)
at org.eclipse.swt.widgets.Widget.error(Widget.java:395)
at org.eclipse.swt.widgets.Control.createHandle(Control.java:482)
at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:229)
at org.eclipse.swt.widgets.ToolBar.createHandle(ToolBar.java:231)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:497)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:131)
at org.eclipse.swt.widgets.ToolBar.createWidget(ToolBar.java:331)
at org.eclipse.swt.widgets.Control.<init>(Control.java:97)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
at org.eclipse.swt.widgets.Composite.<init>(Composite.java:87)
at org.eclipse.swt.widgets.ToolBar.<init>(ToolBar.java:98)
at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:99)
at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:190)
at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:907)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2486)
at org.eclipse.ui.internal.WorkbenchWindow.largeUpdateEnd(WorkbenchWindow.java:2533)
at org.eclipse.ui.internal.Workbench.largeUpdateEnd(Workbench.java:2429)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2298)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.eclipse_main(Main.java:948)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

注意到这一句:
at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
我的NitroX是用的网上的注册机,安装的studio版本,难道和这个有关?
大家遇到过类似问题吗?
...全文
159 10 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
wenchaohu213 2005-10-21
  • 打赏
  • 举报
回复
MYECLIPSE 这样好用


为什么搞个新的东西出来搞
javadiablo 2005-10-21
  • 打赏
  • 举报
回复
干吗要NITROX 呢? MYECLIPSE 4 不是支持 视图化的 STRUTS标签 JSP 页面 查看么?
s_phoenix 2005-10-21
  • 打赏
  • 举报
回复
Nitrox的jsp编辑器比myeclipse好用的多。myeclipse的页面打开速度太慢了。
laughsmile 2005-10-20
  • 打赏
  • 举报
回复
你是不是装了什么第三方插件?
你试试什么插件都不装的eclipse看看,或者试试2.1看看
s_phoenix 2005-10-20
  • 打赏
  • 举报
回复
确定是资源不足吗?
我 P4 3.0G超线程,512M啊。现在的IDE也太耗费资源了吧。
laughsmile 2005-10-20
  • 打赏
  • 举报
回复
那可能是这个插件的稳定性问题。eclipse中有些第三方不是很稳定,我也遇到过。不过没有使用过NitroX
s_phoenix 2005-10-20
  • 打赏
  • 举报
回复
我问题里就写了啊,安装了NitroX后就出现这样的问题了。当然我也同步升级了MyEclupse和eclipse的版本。其他人用同样的插件有问题吗?
Mark_Chen 2005-10-19
  • 打赏
  • 举报
回复
内存资源不足,升级吧!!
s_phoenix 2005-10-18
  • 打赏
  • 举报
回复
我是win xp sp2
这两天似乎又没有出现这个问题了,真是奇怪啊。
「已注销」 2005-10-18
  • 打赏
  • 举报
回复
系统资源不足..如果你是用win9x的那赶紧换到2K/XP吧.

58,452

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧