当我启动eclipse 4.4(Ubuntu 14.04)时,我收到一个存储在目录中的错误:
org.eclipse.platform_3.8_155965261_linux_gtk_x86_64
表示它仍在运行3.8版本的东西。
我做错了什么?
日志文件包含:
!SESSION 2014-10-01 09:48:11.227 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 2 0 2014-10-01 09:48:12.176
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-10-01 09:48:12.176
!MESSAGE Bundle reference:file:plugins/org.eclipse.pde.ua.core_1.0.100.v20110516.jar was not resolved.
!SUBENTRY 2 org.eclipse.pde.ua.core 2 0 2014-10-01 09:48:12.176
!MESSAGE Missing required bundle org.eclipse.pde.core_[3.3.0,4.0.0).
!ENTRY org.eclipse.osgi 2 0 2014-10-01 09:48:12.177
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-10-01 09:48:12.177
!MESSAGE Bundle org.eclipse.pde.ua.core_1.0.100.v20110516 [804] was not resolved.
!SUBENTRY 2 org.eclipse.pde.ua.core 2 0 2014-10-01 09:48:12.177
!MESSAGE Missing required bundle org.eclipse.pde.core_[3.3.0,4.0.0).
!ENTRY org.eclipse.osgi 4 0 2014-10-01 09:48:12.178
!MESSAGE Application error
!STACK 1
java.lang.reflect.InvocationTargetException
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.ui.internal.WorkbenchPlugin.getSplashShell(WorkbenchPlugin.java:1326)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:103)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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: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)
Caused by: org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Widget.error(Widget.java:480)
at org.eclipse.swt.widgets.Shell.createHandle(Shell.java:699)
at org.eclipse.swt.widgets.Widget.createWidget(Widget.java:426)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:602)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:152)
at org.eclipse.swt.widgets.Decorations.createWidget(Decorations.java:241)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:281)
at org.eclipse.swt.widgets.Shell.internal_new(Shell.java:386)
... 19 more
Root exception:
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Widget.error(Widget.java:480)
at org.eclipse.swt.widgets.Shell.createHandle(Shell.java:699)
at org.eclipse.swt.widgets.Widget.createWidget(Widget.java:426)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:602)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:152)
at org.eclipse.swt.widgets.Decorations.createWidget(Decorations.java:241)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:281)
at org.eclipse.swt.widgets.Shell.internal_new(Shell.java:386)
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.ui.internal.WorkbenchPlugin.getSplashShell(WorkbenchPlugin.java:1326)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:103)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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: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)
答案 0 :(得分:0)
不幸的是,要为此错误消息提供准确的解释并不容易。我很确定它不是插件版本的问题(3.8 vs 4.4)。
堆栈跟踪看起来好像在Eclipse安装的某个地方有资源泄漏,即SWT
资源(可能是字体,图像,小部件)。似乎相应代码的提供者没有遵循如果您创建了它,则将其处理规则放在Managing Operating System Resources中。
然而更不幸的是,追踪该代码并非易事。您可以尝试从安装中停用单个插件,并检查错误是否仍然存在。如果不使用任何可能使用的辅助屏幕,请尝试使用。如果您能找到流氓代码或错误来源,请考虑在the Eclipse bug tracker处提交错误报告。