112

我至少有一个月没有更新任何东西了。我刚刚正常工作,突然菜单都是空白的,所以我决定重新启动eclipse。我单击“关闭”和“确定”保存所有内容,但什么也没发生,所以我再次单击关闭并关闭了 Eclipse。我点击了eclipse,加载屏幕只闪烁并消失,然后有一条消息告诉我检查.log文件。从那以后,我多次重新启动电脑,尝试在安全模式下运行它并运行eclipse.exe -clean,但没有任何效果。

有任何想法吗?

!SESSION 2013-03-12 13:46:10.078 -----------------------------------------------
eclipse.buildId=I20120608-1400
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.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -clean

!ENTRY org.eclipse.ui 4 4 2013-03-12 13:46:55.800
!MESSAGE An internal error has occurred.
!STACK 0
java.lang.NullPointerException
    at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1228)
    ...
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.ui.workbench 4 0 2013-03-12 13:46:55.803
!MESSAGE An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
    at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1228)
    ...
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.ui 4 4 2013-03-12 13:46:55.811
!MESSAGE An internal error has occurred.
!STACK 0
java.lang.NullPointerException
    at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1228)
    ...
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.osgi 2 0 2013-03-12 13:47:01.331
!MESSAGE While loading class "org.eclipse.team.svn.ui.SVNTeamUIPlugin", thread "Thread[main,6,main]" timed out waiting (5003ms) for thread "Thread[Worker-1,5,main]" to finish starting bundle "org.eclipse.team.svn.ui_1.0.0.I20120803-1700 [691]". To avoid deadlock, thread "Thread[main,6,main]" is proceeding but "org.eclipse.team.svn.ui.SVNTeamUIPlugin" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/org.eclipse.team.svn.ui_1.0.0.I20120803-1700.jar" by thread "Worker-1".
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088)
    ...
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    ... 38 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088)
    ...
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.osgi 4 0 2013-03-12 13:47:02.259
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(SWT.java:4361)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    ... 18 more

!ENTRY org.eclipse.ui.workbench 4 2 2013-03-12 13:47:02.519
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
    at org.springframework.ide.eclipse.maven.internal.legacyconversion.LegacyProjectChecker.earlyStartup(LegacyProjectChecker.java:36)
    ...
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.ui 4 4 2013-03-12 13:47:02.521
!MESSAGE Unhandled Exception

!ENTRY org.springframework.ide.eclipse.maven 4 0 2013-03-12 13:47:02.523
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NullPointerException
    at org.springframework.ide.eclipse.maven.internal.legacyconversion.LegacyProjectChecker.earlyStartup(LegacyProjectChecker.java:36)
    ...
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.ui.workbench 4 2 2013-03-12 13:47:02.529
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
    at org.springframework.ide.eclipse.osgi.targetdefinition.TargetStartup.earlyStartup(TargetStartup.java:58)
    ...
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.ui 4 4 2013-03-12 13:47:02.531
!MESSAGE Unhandled Exception

!ENTRY org.springframework.ide.eclipse.osgi.targetdefinition 4 0 2013-03-12 13:47:02.534
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NullPointerException
    at org.springframework.ide.eclipse.osgi.targetdefinition.TargetStartup.earlyStartup(TargetStartup.java:58)
    ...
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.ui.workbench 4 2 2013-03-12 13:47:02.550
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.springsource.ide.eclipse.commons.frameworks.ui" was unable to instantiate class "org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker".
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    ...
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
    ... 11 more
Caused by: java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker.<clinit>(LegacySTSChecker.java:44)
    ... 18 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-03-12 13:47:02.551
!MESSAGE Plug-in "org.springsource.ide.eclipse.commons.frameworks.ui" was unable to instantiate class "org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker".
!STACK 0
java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    ...
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker.<clinit>(LegacySTSChecker.java:44)
    ... 18 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-03-12 13:47:02.551
!MESSAGE Plug-in "org.springsource.ide.eclipse.commons.frameworks.ui" was unable to instantiate class "org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker".
!STACK 0
java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    ...
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker.<clinit>(LegacySTSChecker.java:44)
    ... 18 more

!ENTRY org.eclipse.mylyn.monitor.ui 4 0 2013-03-12 13:47:02.552
!MESSAGE Monitor UI stop failed
!STACK 0
java.lang.NullPointerException
    at org.eclipse.mylyn.internal.monitor.ui.ActivityContextManager.stop(ActivityContextManager.java:150)
    ...
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.ui 4 4 2013-03-12 13:47:02.553
!MESSAGE Unhandled Exception

!ENTRY org.springsource.ide.eclipse.commons.frameworks.ui 4 0 2013-03-12 13:47:02.555
!MESSAGE Unable to execute early startup code for an extension
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.springsource.ide.eclipse.commons.frameworks.ui" was unable to instantiate class "org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker".
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:269)
    at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
    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$52.run(Workbench.java:2357)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
    ... 11 more
Caused by: java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker.<clinit>(LegacySTSChecker.java:44)
    ... 18 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2013-03-12 13:47:02.555
!MESSAGE Plug-in "org.springsource.ide.eclipse.commons.frameworks.ui" was unable to instantiate class "org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker".
!STACK 0
java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:269)
    at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
    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$52.run(Workbench.java:2357)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.frameworks.ui.internal.legacyconversion.LegacySTSChecker.<clinit>(LegacySTSChecker.java:44)
    ... 18 more

!ENTRY org.eclipse.ui.workbench 4 2 2013-03-12 13:47:02.562
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporter.lazyStartup(ConfiguratorImporter.java:369)
    at org.springsource.ide.eclipse.commons.internal.ui.StartupExtensionPointReader.runStartupExtension(StartupExtensionPointReader.java:64)
    at org.springsource.ide.eclipse.commons.internal.ui.StartupExtensionPointReader.runStartupExtensions(StartupExtensionPointReader.java:47)
    at org.springsource.ide.eclipse.commons.internal.ui.StartupExtensionPointReader.earlyStartup(StartupExtensionPointReader.java:73)
    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$52.run(Workbench.java:2357)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.ui 4 4 2013-03-12 13:47:02.563
!MESSAGE Unhandled Exception

!ENTRY org.springsource.ide.eclipse.commons.ui 4 0 2013-03-12 13:47:02.565
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NullPointerException
    at org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporter.lazyStartup(ConfiguratorImporter.java:369)
    at org.springsource.ide.eclipse.commons.internal.ui.StartupExtensionPointReader.runStartupExtension(StartupExtensionPointReader.java:64)
    at org.springsource.ide.eclipse.commons.internal.ui.StartupExtensionPointReader.runStartupExtensions(StartupExtensionPointReader.java:47)
    at org.springsource.ide.eclipse.commons.internal.ui.StartupExtensionPointReader.earlyStartup(StartupExtensionPointReader.java:73)
    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$52.run(Workbench.java:2357)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.osgi 4 0 2013-03-12 13:47:02.671
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.NullPointerException
    at org.eclipse.ui.internal.progress.BlockedJobsDialog.createBlockedDialog(BlockedJobsDialog.java:218)
    at org.eclipse.ui.internal.dialogs.WorkbenchDialogBlockedHandler.showBlocked(WorkbenchDialogBlockedHandler.java:73)
    at org.eclipse.ui.internal.dialogs.WorkbenchDialogBlockedHandler.showBlocked(WorkbenchDialogBlockedHandler.java:87)
    at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.setBlocked(EventLoopProgressMonitor.java:144)
    at org.eclipse.core.internal.jobs.JobManager.reportBlocked(JobManager.java:1032)
    at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:907)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.stop(SimpleProfileRegistry.java:870)
    at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.unregisterService(ProvisioningAgent.java:122)
    at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.removedService(ProvisioningAgent.java:183)
    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)
    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1)
    at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
    at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:225)
    at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:356)
    at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
    at org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
    at org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
    at org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
    at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1569)
    at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1505)
    at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1500)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693)
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.equinox.p2.core 4 0 2013-03-12 13:47:02.673
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NullPointerException
    at org.eclipse.ui.internal.progress.BlockedJobsDialog.createBlockedDialog(BlockedJobsDialog.java:218)
    at org.eclipse.ui.internal.dialogs.WorkbenchDialogBlockedHandler.showBlocked(WorkbenchDialogBlockedHandler.java:73)
    at org.eclipse.ui.internal.dialogs.WorkbenchDialogBlockedHandler.showBlocked(WorkbenchDialogBlockedHandler.java:87)
    at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.setBlocked(EventLoopProgressMonitor.java:144)
    at org.eclipse.core.internal.jobs.JobManager.reportBlocked(JobManager.java:1032)
    at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:907)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.stop(SimpleProfileRegistry.java:870)
    at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.unregisterService(ProvisioningAgent.java:122)
    at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.removedService(ProvisioningAgent.java:183)
    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)
    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1)
    at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
    at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:225)
    at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:356)
    at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
    at org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
    at org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
    at org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
    at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1569)
    at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1505)
    at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1500)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693)
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.270
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.273
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.274
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.276
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.277
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.279
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.280
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.282
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.283
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$9

!ENTRY org.eclipse.core.jobs 2 2 2013-03-12 13:47:04.284
!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.m2e.core.internal.repository.RepositoryRegistryUpdateJob
4

15 回答 15

300

我用过eclipse -clean -clearPersistedState,这对我有用。您将丢失窗口布局配置,但这对我来说似乎微不足道。

对于 Linux 系统,请尝试:./eclipse -clean -clearPersistedState

看到Eclipse JUNO 没有启动

于 2013-06-03T16:49:50.737 回答
63

好的,所以我想通了。转到 yourWorkspace/.metadata/.plugins 并删除其中的所有内容。Eclipse 将启动并重新填充该文件夹。

于 2013-03-12T21:19:14.807 回答
47

删除 workspace/.metadata/.plugins/org.eclipse.e4.workbench/ 下的 workbench.xmi 对我有用。它没有删除现有项目。

于 2013-08-16T21:57:39.990 回答
40

这就像 mac os 或 windows 上的冠军一样。

删除位于workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi 的 workbench.xmi。然后启动 Eclipse 或 ADT。这不会删除您的工作区或存储库。

删除 workbench.xmi cmd:

rm 工作区/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi。

于 2014-04-22T19:33:36.260 回答
12

尝试:

$ rm YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.core.resources/.snap

原始来源:发现平台关闭eclipse后作业仍在运行

于 2013-05-17T15:02:13.760 回答
5

我删除了文件夹workspace/.metadata/.plugins/org.eclipse.e4.workbench/中的workbench.xmi。

我收到此错误是因为构建挂起,然后我尝试退出。但是,我有未保存的更改。这会在日志文件中提示以下有关未保存的更改和未完成的作业的错误。

于 2013-12-04T18:45:57.210 回答
4

今天,我遇到了同样的问题。我的日食拒绝开始。当我双击 Eclipse 图标时,我能够看到闪屏一秒钟,然后什么也没有发生。在这里尝试了大多数解决方案:删除锁定文件,重命名工作区,尝试使用不同的干净参数启动 Eclipse。我什至放了一份 Eclispe 的新副本,并尝试从一个新的工作区开始。没有!

当我的工作站在 17:45 重新启动时,我的日志显示了昨天的一堆错误。

!ENTRY org.eclipse.ui.workbench 4 2 2014-12-17 17:45:12.178
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException

最后,这个非常简单的更改(如下所示)将我的 Eclipse 和我的工作区一起保存了!

解决方案:

我编辑eclipse.ini并添加了以下行:

-vm
C:\Program Files\Java\jdk1.6.0_26\bin\javaw.exe

Eclipse 又开始了,里面有我所有的项目!我希望这会有所帮助。

于 2014-12-18T13:06:56.220 回答
2

也许值得一提的是,当我遇到这个问题时,我遵循了 bia.migueis 的建议 - 将所有内容移出插件文件夹 - 工作区将再次打开,减去我的很多配置。但在那之后,我将所有原始文件复制/覆盖回插件文件夹并再次打开工作区:它仍然有效,我之前的设置似乎完好无损。

于 2013-07-09T16:04:39.937 回答
1

我将位于 workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi 的 workbench.xmi 移动到备份文件夹。然后启动eclipse并等待所有后台进程完成。然后我关闭了 eclipse 并将我的 workbench.xmi 的备份副本移回(覆盖了上次启动时创建的副本)。Eclipse 启动良好,我恢复了所有设置。

于 2014-05-14T21:18:14.127 回答
1

如果您删除了 .metadata 目录中的所有数据。有一种快速的方法可以再次导入您的所有项目。试试这个:

文件 --> 导入 --> 常规:选择现有项目到工作区 --> 选择根目录:浏览到旧工作区文件夹(与当前工作区文件夹相同即可) --> 完成。

于 2014-06-11T17:37:22.613 回答
1

我尝试了本文中发布的几个选项,但在 eclipse.ini 中使用此选项对我有用:

-Dorg.eclipse.swt.browser.DefaultType=mozilla

于 2016-08-15T18:16:00.440 回答
0

我尝试了上面移动插件的选项,但它不起作用。我的解决方案是删除整个 .metadata 文件夹。这意味着我失去了默认设置,不得不再次导入我的项目。

于 2013-09-20T09:17:05.660 回答
0

如果您最近一直在使用 VPN 连接,请阅读我的回答。

今天我遇到了同样的问题,并学会了如何在不删除任何插件的情况下修复它。所以我想也许我会分享我自己的经验。

我的问题肯定与 Spring Framework 有关

我在互联网连接上使用 VPN 连接。 一旦我断开了我的 VPN,一切都立即恢复正常。

于 2014-01-29T05:24:52.590 回答
0

绝对是网络/代理的事情。我通过 wifi 和公司网关连接。删除工作区,重新安装 GGTS - 仍然挂起。关闭网络 - 启动正常。

于 2014-05-13T00:36:40.820 回答
0

我有同样的问题,但我通过添加环境变量(运行->运行配置->环境变量)来解决它

variable : java_ipv6
value : -Djava.net.preferIPv4Stack=true
于 2018-02-07T07:56:21.963 回答