Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
218 views
in Technique[技术] by (71.8m points)

java - Eclipse will not start and I haven't changed anything

I haven't updated anything for at least a month. I was just working normally and suddenly the menus were all blank, so I decided to restart eclipse. I clicked "close" and "ok" to save everything, but nothing happened, so I clicked close again and eclipse closed. I clicked on eclipse and the loading screen only flashes and disappears followed by a message telling me to check the .log file. I've since restarted the pc multiple times, tried running it in safe mode and ran eclipse.exe -clean and nothing works.

Any ideas?

!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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I used eclipse -clean -clearPersistedState and that worked for me. You will lose your window layout configuration, but that seems minor to me.

For Linux systems try: ./eclipse -clean -clearPersistedState

See Eclipse JUNO doesn't start


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...