5

Eclipse でランタイム ワークベンチを開始するときに問題が発生しています。新しいEclipseが開きますが、「Loading Workbench」命令でクラッシュします。

私はすでにいくつかのことを試しました。

rm -r .metadata

また

./eclipse -clean -clearPersistedState

また、.snap ファイル、workbench.xmi ファイルを削除しようとしました。Eclipse をアンインストールして再インストールしようとしましたが、これは役に立ちませんでした。

クラッシュのログは次のとおりです。

!ENTRY org.eclipse.core.net 1 0 2013-11-03 21:44:52.276
!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.ui.workbench 4 2 2013-11-03 21:44:54.013
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0 
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.getLastMigration(MigrationSupport.java:232)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.baseChangedSinceLastPresentationOfWizard(MigrationSupport.java:193)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.performMigration(MigrationSupport.java:71)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.earlyStartup(AutomaticUpdateScheduler.java:89)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.ui 4 4 2013-11-03 21:44:54.028
!MESSAGE Unhandled Exception

!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2013-11-03 21:44:54.030
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.getLastMigration(MigrationSupport.java:232)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.baseChangedSinceLastPresentationOfWizard(MigrationSupport.java:193)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.performMigration(MigrationSupport.java:71)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.earlyStartup(AutomaticUpdateScheduler.java:89)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

誰かがこの特定の問題の解決策を持っていますか? 解決策が見つからないことに夢中になっています。

それ以外の場合は、すべてをフォーマットして再インストールする必要がありますか?

あなたが助けてくれるなら、みんなありがとう!

4

3 に答える 3

3

同じエラーが発生していました。を使用して実行できました./eclipse -clean -clearPersistedStateが、「ディレクトリでロックできません」という別のエラーが発生し、Eclipseフォルダーとその内容に777の許可を与えることで解決しました。

于 2014-07-01T23:10:27.677 に答える
0

これは私にとってはうまくいきました。

cd /Applications/adt-bundle-mac-x86_64-20140702/eclipse/Eclipse.app/Contents/MacOS

次に、その中に 2 つのファイルeclipseeclipse.ini.

このコマンドを実行したい./eclipse -clean -clearPersistedState

Eclipse が起動し、ワークスペースをビルドしてから再起動します。その後、すべてが順調です。行ってもいい!

于 2016-10-07T05:54:38.170 に答える