webentwicklung-frage-antwort-db.com.de

Eclipse (C/C++) - Fehler: Der Job wurde nach dem Herunterfahren der Plattform noch ausgeführt

Beim Öffnen von Eclipse, das vor einer Stunde funktioniert hatte, erstarrte es beim Starten und gab den Fehler: "Ein Fehler ist aufgetreten. Sehen Sie sich die Protokolldatei an." Siehe die Protokolldatei unten.

Obwohl einige dieser Informationen im Protokoll angezeigt werden,

Betriebssystem: Mac OSX 10.7.5

Eclipse: Eclipse IDE für C/C++ - Entwickler 3.8

Außerdem habe ich versucht, die ausführbare Eclipse-Datei mit -clean zu starten und verschiedene Dateien im Ordner .metadata zu löschen. Viele Lösungen im Internet, bisher hat keine funktioniert.

!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
24
Puzzler3141

Durch das Löschen von workspace/.metadata/.plugins/org.Eclipse.e4.workbench/workbench.xmi wurde das Problem behoben.

Siehe diese Antwort .

92
Puzzler3141

Problem auch durch Öffnen der CLI mit der Option -clearPersistedState Behoben. Für mich gearbeitet. 

7
Shanemeister

wenn Sie dasselbe Problem mit Flash Builder haben, entfernen Sie Folgendes:

.metadata\.plugins\org.Eclipse.ui.workbench\workbench.xml
0
Frank