[Eclipse(Android関連)] ソフトウェア更新時に起こる起動時エラー対処法

Androidのエミュレータを使おうと思ってEclipseを立ち上げ、
ついでにソフトウェアの更新([ヘルプ]→[更新の確認])を行ったら
エラーで立ち上がらなくなってしまった。

その際の対処法をここに残す。

ログファイルには以下のような事が書かれていた。

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2012-08-14 05:15:40.513
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: バンドル org.eclipse.equinox.simpleconfigurator のアクティベーター org.eclipse.equinox.internal.simpleconfigurator.Activator が無効です

!ENTRY org.eclipse.equinox.common 4 0 2012-08-14 05:15:40.529
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: バンドル org.eclipse.equinox.common のアクティベーター org.eclipse.core.internal.runtime.Activator が無効です

!ENTRY org.eclipse.equinox.ds 4 0 2012-08-14 05:15:40.529
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: バンドル org.eclipse.equinox.ds のアクティベーター org.eclipse.equinox.internal.ds.Activator が無効です

!ENTRY org.eclipse.equinox.event 4 0 2012-08-14 05:15:40.544
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: バンドル org.eclipse.equinox.event のアクティベーター org.eclipse.equinox.internal.event.Activator が無効です

!ENTRY org.eclipse.core.runtime 4 0 2012-08-14 05:15:40.575
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: バンドル org.eclipse.core.runtime のアクティベーター org.eclipse.core.internal.runtime.PlatformActivator が無効です

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2012-08-14 05:15:40.607
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: バンドル org.eclipse.equinox.p2.reconciler.dropins のアクティベーター org.eclipse.equinox.internal.p2.reconciler.dropins.Activator が無効です

!ENTRY org.eclipse.osgi 4 0 2012-08-14 05:15:40.622
!MESSAGE バンドル org.eclipse.equinox.simpleconfigurator_1.0.200.v20110815-1438 [769] が非アクティブです。

!ENTRY org.eclipse.osgi 4 0 2012-08-14 05:15:41.090
!MESSAGE アプリケーション・エラー
!STACK 1
java.lang.IllegalStateException: アプリケーション・サービスを獲得できません。org.eclipse.core.runtime バンドルが解決済みかつ始動済みであるか確認してください (config.ini を参照)。

…何のことやら。

慌てずCleanする。
eclipse.exe があるフォルダに 「eclipse.exe -clean.cmd」があるのでダブルクリックで実行する。
(無ければeclipse.exeを -cleanオプション付きで起動する。)

ソフトウェア更新が途中で終わってしまっているので再度実行する。

これで解決。
次回からは通常通り起動してもOKだ。

コメント