Eclipse 工作区在启动时崩溃
Posted
技术标签:
【中文标题】Eclipse 工作区在启动时崩溃【英文标题】:Eclipse workspace crashes on startup 【发布时间】:2012-11-15 21:05:04 【问题描述】:我正在使用 Spring Tool Suite(STS) 3.0.0 版本 (eclipse.buildId=3.0.0.201208091018-RELEASE-e42)。它运行了几个月,但最近我的主工作区在闪屏上崩溃,出现错误,如本文最后一部分所示。
我已尝试“STS.exe -clean”并将安装(通过新工作台)恢复到早期配置.. 但似乎没有任何效果。
我把它作为一个单一的工具来驱动(即几乎所有与开发相关的任务,甚至像连接到服务器、数据库),所以这非常令人沮丧:-(。
任何帮助将不胜感激。
!ENTRY org.eclipse.ui.workbench 4 2 2012-11-28 08:56:53.195
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:186)
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:70)
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.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 11 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2012-11-28 08:56:53.195
!MESSAGE Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
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:70)
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)
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2012-11-28 08:56:53.196
!MESSAGE Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
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:70)
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)
!ENTRY org.eclipse.ui 4 4 2012-11-28 08:56:53.210
!MESSAGE Unhandled Exception
!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2012-11-28 08:56:53.213
!MESSAGE Unable to execute early startup code for an extension
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:186)
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:70)
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.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 11 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2012-11-28 08:56:53.213
!MESSAGE Plug-in "org.eclipse.equinox.p2.ui.sdk.scheduler" was unable to instantiate class "org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler".
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.<init>(AutomaticUpdateScheduler.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
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:70)
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)
!ENTRY org.eclipse.core.runtime 4 2 2012-11-28 08:56:53.250
!MESSAGE Problems encountered starting up plug-in: "org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.wst.web_1.1.600.v201204190200 [797]".
!STACK 0
org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.wst.web_1.1.600.v201204190200 [797]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:923)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:360)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
at org.eclipse.core.runtime.Platform.getPlugin(Platform.java:738)
at org.eclipse.core.internal.preferences.legacy.InitLegacyPreferences.init(InitLegacyPreferences.java:43)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:147)
at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:368)
at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:166)
at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:237)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:410)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:663)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:805)
at org.eclipse.core.internal.preferences.PreferencesService$5.run(PreferencesService.java:623)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.preferences.PreferencesService.getNodes(PreferencesService.java:607)
at org.eclipse.core.internal.preferences.PreferencesService.getString(PreferencesService.java:676)
at org.eclipse.wst.project.facet.ProductManager.getProperty(ProductManager.java:67)
at org.eclipse.wst.project.facet.ProductManager.shouldUseViewerSyncForWebservices(ProductManager.java:127)
at org.eclipse.jst.j2ee.internal.webservice.startup.WebserviceListener.earlyStartup(WebserviceListener.java:79)
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)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.wst.web_1.1.600.v201204190200 [797]
... 26 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.wst.web_1.1.600.v201204190200 [797]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:923)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:360)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
at org.eclipse.core.runtime.Platform.getPlugin(Platform.java:738)
at org.eclipse.core.internal.preferences.legacy.InitLegacyPreferences.init(InitLegacyPreferences.java:43)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:147)
at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:368)
at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:166)
at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:237)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:410)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:663)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:805)
at org.eclipse.core.internal.preferences.PreferencesService$5.run(PreferencesService.java:623)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.preferences.PreferencesService.getNodes(PreferencesService.java:607)
at org.eclipse.core.internal.preferences.PreferencesService.getString(PreferencesService.java:676)
at org.eclipse.wst.project.facet.ProductManager.getProperty(ProductManager.java:67)
at org.eclipse.wst.project.facet.ProductManager.shouldUseViewerSyncForWebservices(ProductManager.java:127)
at org.eclipse.jst.j2ee.internal.webservice.startup.WebserviceListener.earlyStartup(WebserviceListener.java:79)
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.core.runtime 4 2 2012-11-28 08:56:53.258
!MESSAGE Problems encountered starting up plug-in: "org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]".
!STACK 0
org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:923)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:360)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:149)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:113)
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: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
... 15 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:923)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:360)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:149)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:113)
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 2012-11-28 08:56:53.261
!MESSAGE Unhandled Exception
!ENTRY org.eclipse.jst.ws.jaxws.utils 4 0 2012-11-28 08:56:53.263
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:149)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:113)
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: org.eclipse.core.runtime.CoreException: Problems encountered starting up plug-in: "org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]".
at org.eclipse.core.internal.plugins.PluginDescriptor.throwException(PluginDescriptor.java:296)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:362)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
... 10 more
Caused by: org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:923)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:360)
... 11 more
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
... 15 more
Root exception:
org.eclipse.core.runtime.CoreException: Problems encountered starting up plug-in: "org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]".
at org.eclipse.core.internal.plugins.PluginDescriptor.throwException(PluginDescriptor.java:296)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:362)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:149)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:113)
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: org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:923)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:360)
... 11 more
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.jst.ws.jaxws.utils_1.0.200.v201201032002 [553]
... 15 more
!ENTRY org.eclipse.ui 4 4 2012-11-28 08:56:53.266
!MESSAGE Bad extension specification
!ENTRY org.eclipse.jst.ws.jaxws.utils 4 0 2012-11-28 08:56:53.268
!MESSAGE startup class must implement org.eclipse.ui.IStartup
!ENTRY org.eclipse.ui.workbench 4 2 2012-11-28 08:56:53.422
!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.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 2012-11-28 08:56:53.424
!MESSAGE Unhandled Exception
【问题讨论】:
你解决过这个问题吗?我遇到了完全相同的问题。 在尝试了很多东西(很多呼啦啦!!)之后,我终于找到了似乎造成这个问题的 JRebel 插件。我的 JRebel 许可证已过期,此插件用于通知许可证过期并要求更新许可证。我曾经忽略它,但是当我对该通知采取行动时(单击确定),这个问题没有再次出现! 【参考方案1】:我遇到了同样的问题。我按照这些步骤操作,效果很好,
转到您的工作区,例如C:\工作区
然后从您的工作区打开 .metadata.plugins 文件夹。
删除以下2个文件夹,
org.eclipse.e4.workbench org.eclipse.equinox.p2.ui.sdkEclipse 应该在此之后启动。
【讨论】:
对我来说,删除org.eclipse.e4.workbench
就足够了。
没有文件夹名称为:org.eclipse.e4.workbench org.eclipse.equinox.p2.ui.sdk
请注意,虽然这可以完美运行,但它也会重置您的工作空间组织,因此您必须将所有这些视角置于以前的方式。轻微的不便,但仍然值得注意。【参考方案2】:
通过消除workspace\.metadata\.plugins\org.eclipse.e4.workbench
目录来解决问题。
【讨论】:
【参考方案3】:在使用 Luna 打开 Kepler 工作区然后切换回 Kepler 后,我遇到了同样的问题。似乎 Luna 添加了一些开普勒意想不到的数据。
我不得不删除 .metadata 文件夹并重新配置工作区。
【讨论】:
我不必回滚到以前的版本。删除.metadata
对我有用。当我请求在 Eclipse(氧气 2)中安装 angula 实时预览时出现问题。【参考方案4】:
对我来说,唯一的解决方案是在 eclipse.ini
中进行简单的调整。
位于 Eclipse 安装的 root 文件夹中的文件。
在-vmargs
行之前添加以下内容:
-vm
C:\Program Files\Java\jre7\bin\javaw.exe
例子:
-vm
C:\Program Files\Java\jdk1.8.0_241\bin\javaw.exe
-vmargs
指定 JVM
最推荐使用的选项之一是指定一个特定的 JVM 以供 Eclipse 运行。这样做可以确保您绝对确定将在哪个 JVM Eclipse 中运行,并使您免受系统更改的影响,这些更改可能会改变您系统的“默认”JVM。许多用户被绊倒了,因为他们认为他们知道默认情况下会使用什么 JVM,但他们认为错了。 eclipse.ini
让你确定。
eclipse.ini
的以下示例演示了 -vm 选项的正确用法。
注意-vm
选项的格式 - 准确很重要:
-vm
选项及其值(路径)必须位于不同的行中。
该值必须是 Java 的完整绝对或相对路径
可执行文件,而不仅仅是 Java 主目录。
-vm
选项必须出现在其他 Eclipse 特定选项之后
(如-product,
--launcher
.*等),但在-vmargs
选项之前,
因为-vmargs
之后的所有内容都直接传递给 JVM。
对于 32 位 Eclipse 可执行文件(Windows 上为eclipse.exe
),一个 32 位
必须使用 JVM,对于 64 位 Eclipse 可执行文件,必须使用 64 位 JVM
必须使用。
重要提示:32 位 Eclipse 不适用于 64 位 JVM
参考:
https://wiki.eclipse.org/Eclipse.ini【讨论】:
【参考方案5】:当我遇到此问题时,我所做的是删除崩溃工作区的 .metadata 文件夹中的 .lock 。
作为一种魅力。
【讨论】:
【参考方案6】:通过删除 workspace.metadata.plugins 文件夹中的 org.eclipse.e4.workbench 删除了错误... :)
【讨论】:
以上是关于Eclipse 工作区在启动时崩溃的主要内容,如果未能解决你的问题,请参考以下文章