MyEclipse

1.

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.ExceptionInInitializerError
	at com.genuitec.eclipse.migration.core.internal.MigrationStartup.earlyStartup(MigrationStartup.java:12)
	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)
Caused by: java.lang.NullPointerException
	at org.eclipse.core.internal.registry.BufferedRandomInputStream.seek(BufferedRandomInputStream.java:130)
	at org.eclipse.core.internal.registry.TableReader.goToExtraFile(TableReader.java:372)
	at org.eclipse.core.internal.registry.TableReader.loadThirdLevelConfigurationElements(TableReader.java:239)
	at org.eclipse.core.internal.registry.RegistryObjectManager.load(RegistryObjectManager.java:415)
	at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:271)
	at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
	at org.eclipse.core.internal.registry.ThirdLevelConfigurationElementHandle.getConfigurationElement(ThirdLevelConfigurationElementHandle.java:25)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.getName(ConfigurationElementHandle.java:99)
	at com.genuitec.eclipse.migration.core.project.internal.Enablement.createFilter(Enablement.java:90)
	at com.genuitec.eclipse.migration.core.project.internal.Enablement.<init>(Enablement.java:70)
	at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationFilterableObject.<init>(ProjectMigrationFilterableObject.java:26)
	at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationOperationDef.<init>(ProjectMigrationOperationDef.java:29)
	at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationManagerImpl.readProjectExtensionPoint(ProjectMigrationManagerImpl.java:160)
	at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationManagerImpl.<clinit>(ProjectMigrationManagerImpl.java:101)
	... 6 more

解决方法:

http://stackoverflow.com/questions/13597862/eclipse-workspace-crashes-on-startup

  1. Go to your workspace e.g. C:Workspace
  2. Then open .metadata.plugins folder from your workspace.
  3. Delete below 2 folders,  
    •   org.eclipse.e4.workbench
    •   org.eclipse.equinox.p2.ui.sdk

亲测:删除“org.eclipse.e4.workbench”这个重启后正常。

原文地址:https://www.cnblogs.com/kangping/p/6418232.html