Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367619 - Eclipse won't even start. Gives "An error has occurred. See the log file C:\[...]\.metadata\.log."
Summary: Eclipse won't even start. Gives "An error has occurred. See the log file C:\[...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-12-29 07:00 EST by oscar_elmqvist CLA
Modified: 2017-08-09 08:25 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oscar_elmqvist CLA 2011-12-29 07:00:58 EST
Build Identifier: 

It is very frustrating because this means i cant even open eclipse. I'm new to eclipse so I cannot comprehend what that log says but let's se if you guys can =):


!ENTRY org.eclipse.osgi 4 0 2011-12-29 12:37:56.679
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
	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:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (58).
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 13 more
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
	... 22 more
Caused by: java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/parsers/SAXParser
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
	at org.eclipse.core.internal.resources.ProjectDescriptionReader.createParserFactory(ProjectDescriptionReader.java:124)
	at org.eclipse.core.internal.resources.ProjectDescriptionReader.createParser(ProjectDescriptionReader.java:110)
	at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:920)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:840)
	at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:873)
	at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:853)
	at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:702)
	at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1527)
	at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2503)
	at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2251)
	at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:439)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 28 more


Reproducible: Always

Steps to Reproduce:
1.Install Eclipse with android plugin and sdk. I'm using android 2.2 btw.
2.use it a couple of times
3.
Comment 1 Remy Suen CLA 2012-01-03 09:50:53 EST
(In reply to comment #0)
> Steps to Reproduce:
> 1.Install Eclipse with android plugin and sdk. I'm using android 2.2 btw.
> 2.use it a couple of times

So a fresh install of Eclipse always works properly?
Comment 2 Szymon Ptaszkiewicz CLA 2012-03-01 09:02:32 EST
Closing due to lack of information needed for reproduction. It's not reproducible using fresh Eclipse install. Please reopen if you see this again or if you find reproducible steps.
Comment 3 Ralf Hauser CLA 2017-08-09 08:13:01 EDT
seems to be related to Bug 520746
Comment 4 Andrey Loskutov CLA 2017-08-09 08:25:32 EDT
(In reply to Ralf Hauser from comment #3)
> seems to be related to Bug 520746

No, it is different one.