Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse Fails to start
Eclipse Fails to start [message #226924] Tue, 18 November 2008 03:37 Go to next message
Mark is currently offline MarkFriend
Messages: 1
Registered: July 2009
Junior Member
Today Eclipse crashed and now I can't restart it. I even tried starting
it with the -clean option and I sill get the same error. Here is what I
see at the end of the .log file after trying to start eclipse. How do I
recover from this?

!ENTRY org.eclipse.osgi 4 0 2008-11-17 16:06:37.622
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: Could not initialize class
org.eclipse.jface.preference.PreferenceConverter
at
org.eclipse.ui.internal.themes.ThemeElementHelper.installFon t(ThemeElementHelper.java:103)
at
org.eclipse.ui.internal.themes.ThemeElementHelper.populateRe gistry(ThemeElementHelper.java:59)
at
org.eclipse.ui.internal.Workbench$32.runWithException(Workbe nch.java:1459)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3378)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3036)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 2 0 2008-11-17 16:06:37.745
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-17 16:06:37.745
!MESSAGE Bundle
reference:file:plugins/org.eclipse.cdt.core.linux.x86_64_5.0 .0.200806171202.jar
[21] was not resolved.
Re: Eclipse Fails to start [message #659972 is a reply to message #226924] Wed, 16 March 2011 12:59 Go to previous messageGo to next message
Pulkit Singhal is currently offline Pulkit SinghalFriend
Messages: 2
Registered: March 2011
Junior Member
Did the solution given here:
http://www.myeclipseide.com/PNphpBB2-printview-t-16692-start -0.html
Help you?

I quote
"The workaround for him was to restart using the -data command line argument to specify a new workspace, like:
eclipse.exe -data c:\testworkspace <REST OF ARGS>

after starting up, he disabled the Perforce plugin from the Help > Software Updates > Manage Config menu, and restarted and it was fine."
Re: Eclipse Fails to start [message #660238 is a reply to message #659972] Thu, 17 March 2011 14:12 Go to previous messageGo to next message
Pulkit Singhal is currently offline Pulkit SinghalFriend
Messages: 2
Registered: March 2011
Junior Member
By the way I ran into this when I deleted the maven 2.x folder from my hard-drive because I had installed maven 3.x, this meant that I should have updated the MAVEN_HOME system variable also but I had not done that. Fixing MAVEN_HOME allowed eclipse to finally start up.
Re: Eclipse Fails to start [message #997424 is a reply to message #226924] Mon, 07 January 2013 13:18 Go to previous message
Cooee Cooee is currently offline Cooee CooeeFriend
Messages: 1
Registered: January 2013
Junior Member
I had this exact same problem.

The instructions here pretty much solved my problem. I first tried -clean but it did not help. Then I followed the -data suggestion above which got Eclipse started.

I *looked* at the plug-in list next but the plug-in mentioned above wasn't there. I closed the window, exited Eclipse, and removed the -data parameter. When I started Eclipse it worked with my original workspace. It seems that temporarily using the -data parameter might be enough to overcome this problem, or perhaps looking at the plug-in list helped too.

When Eclipse ran successfully this last time, this message appeared in the log. I assume it is relevant:

!SESSION 2013-01-08 00:05:13.851 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0
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

!ENTRY org.eclipse.core.resources 2 10035 2013-01-08 00:05:18.691
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.


And this was the original error:

!ENTRY org.eclipse.osgi 4 0 2013-01-07 23:51:02.482
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jface.preference.PreferenceConverter
	at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:103)
	at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:59)
	at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1553)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2523)
	at org.eclipse.ui.internal.Workbench.access$7(Workbench.java:2431)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:586)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	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)
Previous Topic:Can't add a new build configuration
Next Topic:Unresolved includes issue
Goto Forum:
  


Current Time: Thu Apr 18 14:40:13 GMT 2024

Powered by FUDForum. Page generated in 0.02908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top