私がEclipseを開いたところ、1時間前に動作していましたが、起動時にフリーズし、「エラーが発生しました。ログファイルを参照してください」というエラーが表示されました。以下のログファイルを参照してください。
この情報の一部はログに表示されますが、
OS:Mac OSX 10.7.5
Eclipse:Eclipse IDE for C/C++ Developers 3.8
さらに、-cleanを使用してEclipse実行可能ファイルを起動し、.metadataフォルダー内のさまざまなファイルを削除してみました。インターネット上にはたくさんの解決策があり、今のところどれもうまくいっていません。
!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
workspace/.metadata/.plugins/org.Eclipse.e4.workbench/workbench.xmi
を削除すると問題が解決しました。
これを見てください answer 。
問題は、オプション-clearPersistedStateを使用してCLIから開くことでも解決しました。
flash Builderでこれと同じ問題がある場合は、次を削除します。
.metadata\.plugins\org.Eclipse.ui.workbench\workbench.xml