web-dev-qa-db-fra.com

Erreur Eclipse (C/C++): travail trouvé en cours d'exécution après l'arrêt de la plate-forme

Quand je suis allé ouvrir Eclipse, cela fonctionnait une heure auparavant, il s’est figé au lancement et a donné le message suivant: "Une erreur s’est produite. Consultez le fichier journal". Voir le fichier journal ci-dessous.

Bien que certaines de ces informations apparaissent dans le journal,

OS: Mac OSX 10.7.5

Eclipse: Eclipse IDE pour les développeurs C/C++ 3.8

De plus, j'ai essayé de lancer l'exécutable Eclipse avec -clean, ainsi que de supprimer divers fichiers du dossier .metadata. Beaucoup de solutions sur Internet, aucune n’a fonctionné jusqu’à présent.

!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

La suppression de workspace/.metadata/.plugins/org.Eclipse.e4.workbench/workbench.xmi a résolu le problème.

Voir cette réponse .

92
Puzzler3141

Problème également résolu en ouvrant le CLI avec l'option -clearPersistedState A fonctionné pour moi. 

7
Shanemeister

si vous rencontrez le même problème avec Flash Builder, supprimez:

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