日食(C / C ++)错误:作业平台关闭后,发现仍在运行 [英] Eclipse (C/C++) Error: Job found still running after platform shutdown

查看:160
本文介绍了日食(C / C ++)错误:作业平台关闭后,发现仍在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我去开了Eclipse,它已经工作一个小时前,在冻结推出,给了错误:发生了错误,请参阅日志文件。请参阅下面的日志文件。

虽然一些信息出现在日志中,

操作系统:Mac OSX 10.7.5

的Eclipse:Eclipse IDE中的C / C ++开发人员的3.8

此外,我曾尝试推出与-clean Eclipse可执行文件,以及在.metadata文件夹中删除各种文件。在互联网上的解决方案很多,但没有到目前为止的工​​作。

 会议2012年11月10日22:10:3​​2.651 -------------------------- ---------------------
eclipse.buildId = M20120914-1800
java.version = 1.7.0_09
java.vendor = Oracle公司
BootLoader的常量:OS = MacOSX的,ARCH = x86_64的,WS =可可,NL = EN_US
框架参数:-product org.eclipse.epp.package.cpp.product -keyring /Users/Puzzel/.eclipse_keyring -showlocation
命令行参数:-os MacOSX的-ws可可-arch x86_64的-product org.eclipse.epp.package.cpp.product -keyring /Users/Puzzel/.eclipse_keyring -showlocation!ENTRY org.eclipse.core.net 1 0 2012年11月10日22:10:3​​5.937
!消息系统属性把http.nonProxyHosts已设置为本地| *。本地| 169.254 / 16 | * .169.254 / 16由外部电源。这个值将利用从preferences的值覆盖!ENTRY org.eclipse.osgi 4 0 2012年11月10日22:10:3​​6.479
!MESSAGE应用程序错误
!STACK 1
org.eclipse.swt.SWTException:未能执行的可运行(显示java.lang.NullPointerException)
    在org.eclipse.swt.SWT.error(SWT.java:4361)
    在org.eclipse.swt.SWT.error(SWT.java:4276)
    在org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
    在org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3944)
    在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)
    在org.eclipse.swt.widgets.Display.release(Display.java:3682)
    在org.eclipse.swt.graphics.Device.dispose(Device.java:190)
    在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:140)
    在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:353)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
    在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    在java.lang.reflect.Method.invoke(Method.java:601)
    在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    在org.eclipse.equinox.launcher.Main.run(Main.java:1438)
显示java.lang.NullPointerException:产生的原因
    在org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1231)
    在org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1224)
    在org.eclipse.cdt.codan.internal.ui.cxx.Startup $ 1.run(Startup.java:39)
    在org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    在org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    ... 17个!ENTRY org.eclipse.mylyn.monitor.ui 4 0二〇一二年十一月一十日22:10:3​​6.569
!消息监控UI停止失败
!STACK 0
显示java.lang.NullPointerException
    在org.eclipse.mylyn.internal.monitor.ui.ActivityContextManager.stop(ActivityContextManager.java:152)
    在org.eclipse.mylyn.internal.monitor.ui.MonitorUiPlugin.stop(MonitorUiPlugin.java:157)
    在org.eclipse.osgi.framework.internal.core.BundleContextImpl $ 2.run(BundleContextImpl.java:771)
    在java.security.AccessController.doPrivileged(本机方法)
    在org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
    在org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
    在org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
    在org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
    在org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
    在org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
    在org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
    在org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
    在org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
    在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
    在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    在java.lang.reflect.Method.invoke(Method.java:601)
    在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    在org.eclipse.equinox.launcher.Main.run(Main.java:1438)!ENTRY org.eclipse.core.jobs 2 2 2012年11月10日22:10:3​​6.917
!MESSAGE作业平台关闭后,发现仍在运行。乔布斯应该由关机期间安排他们的插件被取消:org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin $ TasksUiInitializationJob!ENTRY org.eclipse.core.jobs 2 2 2012年11月10日22:10:3​​6.918
!MESSAGE作业平台关闭后,发现仍在运行。乔布斯应该由关机期间安排他们的插件被取消:org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceDropAdapter $ 1


解决方案

删除工作区/ .metadata / .plugins / org.eclipse.e4.workbench / workbench.xmi 解决了这个问题。

请参阅此回答

When I went to open Eclipse, it had worked an hour before, it froze at launch and gave the error: "An error has occurred. See the log file". See the log file below.

Although some of this information appears in the log,

OS: Mac OSX 10.7.5

Eclipse: Eclipse IDE for C/C++ Developers 3.8

Additionally, I have tried launching the Eclipse executable with -clean, as well as deleting various files in the .metadata folder. Lots of solutions on the internet, none have worked so far.

!SESSION 2012-11-10 22:10:32.651 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product -keyring /Users/Puzzel/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -keyring /Users/Puzzel/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2012-11-10 22:10:35.937
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.osgi 4 0 2012-11-10 22:10:36.479
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(SWT.java:4361)
    at org.eclipse.swt.SWT.error(SWT.java:4276)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3944)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)
    at org.eclipse.swt.widgets.Display.release(Display.java:3682)
    at org.eclipse.swt.graphics.Device.dispose(Device.java:190)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:140)
    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:601)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.lang.NullPointerException
    at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1231)
    at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1224)
    at org.eclipse.cdt.codan.internal.ui.cxx.Startup$1.run(Startup.java:39)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    ... 17 more

!ENTRY org.eclipse.mylyn.monitor.ui 4 0 2012-11-10 22:10:36.569
!MESSAGE Monitor UI stop failed
!STACK 0
java.lang.NullPointerException
    at org.eclipse.mylyn.internal.monitor.ui.ActivityContextManager.stop(ActivityContextManager.java:152)
    at org.eclipse.mylyn.internal.monitor.ui.MonitorUiPlugin.stop(MonitorUiPlugin.java:157)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
    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:601)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

!ENTRY org.eclipse.core.jobs 2 2 2012-11-10 22:10:36.917
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin$TasksUiInitializationJob

!ENTRY org.eclipse.core.jobs 2 2 2012-11-10 22:10:36.918
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceDropAdapter$1

解决方案

Deleting workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi solved the problem.

See this answer.

这篇关于日食(C / C ++)错误:作业平台关闭后,发现仍在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆