加载运行时工作台时Eclipse崩溃

Dra*_*yae 5 eclipse crash runtime loading workbench

我在eclipse中启动Runtime工作台时遇到了麻烦.新的Eclipse开启了,但崩溃了"Loading Workbench"指令.

我已经尝试了一些东西,即:

rm -r .metadata
Run Code Online (Sandbox Code Playgroud)

要么

./eclipse -clean -clearPersistedState
Run Code Online (Sandbox Code Playgroud)

我也尝试删除.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)
Run Code Online (Sandbox Code Playgroud)

有人有解决这个特殊问题的方法吗?我没有找到解决方案而变得疯狂.

否则,我将不得不格式化并重新安装一切?

谢谢你,如果你能帮忙!

Dra*_*yae 4

好吧,在搞乱了所有 Eclipse 文件和东西之后,我找到了解决方案:

我必须使用不在当前工作区的父文件夹中的新工作区,解释:

旧工作区:

somefolder/parentfolder/workspace/
Run Code Online (Sandbox Code Playgroud)

父文件夹/中的每个工作区都已损坏,因此每次我尝试在此文件夹中创建新工作区时,它都不起作用

通过使用这种工作空间,问题就不再存在了:

somefolder/workspace
Run Code Online (Sandbox Code Playgroud)

如果发生这种情况,我给您的建议是:不仅使用父文件夹来尝试工作区,而且还使用完全随机的其他文件夹。

希望这对处于相同位置的其他人有所帮助。