error while opening eclipse [message #492313] |
Mon, 19 October 2009 22:00 |
Missing name Missing name Messages: 2 Registered: October 2009 |
Junior Member |
|
|
hi,
my eclipse used to work just fine, until about a few days ago. when i open it, it says: an error has occurred, see ...\workspace\.metadata\.log. so i opened log.txt and this is what it said:
eclipse.buildId=I20080617-2000
java.version=1.6.0-oem
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.core.resources 2 10035 2009-10-17 12:08:07.589
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.osgi 4 0 2009-10-17 12:08:08.771
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (26).
!STACK 0
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.s tartActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:114)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/csc_212_project_2' not found.
at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFo und(AbstractDataTree.java:257)
at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaD ataTree.java:585)
at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelt a(DataDeltaNode.java:50)
at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelt a(DataDeltaNode.java:47)
at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelt a(DeltaDataTree.java:88)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:816)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:792)
at org.eclipse.core.internal.watson.ElementTree.immutable(Eleme ntTree.java:517)
at org.eclipse.core.internal.resources.SaveManager.restore(Save Manager.java:670)
at org.eclipse.core.internal.resources.SaveManager.startup(Save Manager.java:1326)
at org.eclipse.core.internal.resources.Workspace.startup(Worksp ace.java:1953)
at org.eclipse.core.internal.resources.Workspace.open(Workspace .java:1716)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPl ugin.java:376)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
... 28 more
Root exception:
org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/csc_212_project_2' not found.
at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFo und(AbstractDataTree.java:257)
at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaD ataTree.java:585)
at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelt a(DataDeltaNode.java:50)
at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelt a(DataDeltaNode.java:47)
at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelt a(DeltaDataTree.java:88)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:816)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:815)
at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDa taTree.java:792)
at org.eclipse.core.internal.watson.ElementTree.immutable(Eleme ntTree.java:517)
at org.eclipse.core.internal.resources.SaveManager.restore(Save Manager.java:670)
at org.eclipse.core.internal.resources.SaveManager.startup(Save Manager.java:1326)
at org.eclipse.core.internal.resources.Workspace.startup(Worksp ace.java:1953)
at org.eclipse.core.internal.resources.Workspace.open(Workspace .java:1716)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPl ugin.java:376)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:441)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:114)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
!ENTRY org.eclipse.osgi 4 0 2009-10-17 12:08:08.819
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:114)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
not really sure what it means, but if anyone could help me, it'd be much appreciated.
|
|
|
|
|
|
|
Re: error while opening eclipse [message #530835 is a reply to message #530834] |
Sat, 01 May 2010 15:16 |
|
On 5/1/2010 9:01 AM, Andrew Macrae wrote:
> it's all very well to use a new workspace - works like a charm! But what
> about the many hours I've spent configuring my workspace? Re-importing
> the projects is the least of my problems.
> I've tried restoring earlier versions of the workspace from backups,
> going back days before the crash, but still Eclipse hangs on loading the
> workspace - is it keeping settings in some other mysterious place that
> is conflicting with what should otherwise be a valid workspace?
Probably the two biggest areas of customization are the workspace
preferences and the code template changes you've made if, as I, you
don't like the default way in which the Eclipse editor places braces,
inserts catches, etc.
Export the preferences from the good workspace you've painstakingly put
together via File -> Export -> General -> Preferences. I * * think * *
that the compiler error/warning settings come out with this action, but
honestly I haven't paid that close attention.
Create your own code formatting via Window -> Preferences -> Java ->
Code Style -> Formatter. You name this file and return to this same
place to reimport your profile.
There are additional settings and/or preferences that are saveable, but
these constitute the only ones I worry about.
Good luck.
Russ Bateman
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.12216 seconds