Eclipse のインストールを台無しにしてしまいました。ワークスペースの場所を変更しました (File->Switch Workspace)。これで起動しなくなりました。スプラッシュが数秒間表示され、シャットダウンします。次に、古いワークスペースと新しいワークスペースの両方でコマンド ラインで -data パラメーターを使用してみましたが、動作は同じでした。マシンの再起動も試しました。
eclipse\workspace.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.ui.ide.prefsで、SHOW_WORKSPACE_SELECTION_DIALOG の最後の行を追加しましたが、違いはありません。
EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false
IMPORT_FILES_AND_FOLDERS_RELATIVE=true
IMPORT_FILES_AND_FOLDERS_TYPE=23,1
PROBLEMS_FILTERS_MIGRATE=true
SWITCH_PERSPECTIVE_ON_PROJECT_CREATION=always
TASKS_FILTERS_MIGRATE=true
eclipse.preferences.version=1
platformState=1346849854920
quickStart=false
tipsAndTricks=true
SHOW_WORKSPACE_SELECTION_DIALOG=true
どうすれば元に戻せますか?
(編集) .metadata ディレクトリを削除してから、Eclipse を再起動しました。
ログファイルからの抜粋:
!SESSION 2013-01-28 10:35:51.245 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0_07
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.ui 4 4 2013-01-28 10:32:40.278
!MESSAGE Unhandled Exception
!ENTRY org.eclipse.ui 4 0 2013-01-28 10:32:40.278
!MESSAGE Error occurred during status handling
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.<init>(StatusHandlerRegistry.java:72)
...
!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2013-01-28 10:32:40.294
!MESSAGE Unable to execute early startup code for an extension
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
...
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-01-28 10:32:40.294
!MESSAGE Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
...
!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2013-01-28 10:32:40.294
!MESSAGE Unable to execute early startup code for an extension
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
...
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-01-28 10:32:40.294
!MESSAGE Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
...
!ENTRY org.eclipse.ui 4 0 2013-01-28 10:32:40.294
!MESSAGE Error occurred during status handling
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.<init>(StatusHandlerRegistry.java:72)
...
!ENTRY org.eclipse.core.jobs 2 2 2013-01-28 10:32:40.809
!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
!ENTRY org.eclipse.core.jobs 2 2 2013-01-28 10:32:40.809
!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
!ENTRY org.eclipse.ui 4 0 2013-01-28 10:32:40.809
!MESSAGE Error occurred during status handling
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.<init>(StatusHandlerRegistry.java:61)
...