Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Helios not starting("Incompatible file format" error reported in log file)
Helios not starting [message #669360] Tue, 10 May 2011 05:30 Go to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 4
Registered: August 2010
Junior Member
Hello,

My copy of Helios is reporting an error message in the log file when I attempt to start it (Windows 7 platform). The splash screen appears briefly but then promptly disappears and there's no exclipse.exe process to be found running.

Here's the error message in the log file at workspaces/.metadata/.log:

Quote:
!ENTRY org.eclipse.osgi 4 0 2011-05-10 17:03:17.619
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:116)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
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: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (174).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:121)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla ss(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:466)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(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.s tartActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:284)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger (BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:106)
... 22 more
Caused by: org.eclipse.core.internal.resources.ResourceException: Incompatible file format. Workspace was saved with an incompatible version: 1331426228.
at org.eclipse.core.internal.resources.WorkspaceTreeReader.getR eader(WorkspaceTreeReader.java:58)
at org.eclipse.core.internal.resources.WorkspaceTreeReader.getR eader(WorkspaceTreeReader.java:66)
at org.eclipse.core.internal.resources.SaveManager.restoreTree( SaveManager.java:978)
at org.eclipse.core.internal.resources.SaveManager.restore(Save Manager.java:665)
at org.eclipse.core.internal.resources.SaveManager.startup(Save Manager.java:1503)
at org.eclipse.core.internal.resources.Workspace.startup(Worksp ace.java:2134)
at org.eclipse.core.internal.resources.Workspace.open(Workspace .java:1883)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPl ugin.java:406)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:774)
... 28 more


Thanks for any assistance.
Re: Helios not starting [message #669484 is a reply to message #669360] Tue, 10 May 2011 13:53 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

You don't say whether you've every successfully started it before or
not. It sure helps to provide context. Assuming this is the case, the
usual culprit is failure to specify a valid JRE or JDK in eclipse.ini.
Note that if you're going to develop in Java, you'll want an actual JDK
and not merely a JRE there. Please see

http://wiki.eclipse.org/Eclipse.ini


On 09-May-11 23:30, forums-noreply@eclipse.org wrote:
> Hello,
>
> My copy of Helios is reporting an error message in the log
> file when I attempt to start it (Windows 7 platform). The
> splash screen appears briefly but then promptly disappears
> and there's no exclipse.exe process to be found running.
>
> Here's the error message in the log file at
> workspaces/.metadata/.log:
>
> Quote:
>> !ENTRY org.eclipse.osgi 4 0 2011-05-10 17:03:17.619
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.NoClassDefFoundError:
>> org/eclipse/core/resources/IContainer
>> at org.eclipse.ui.internal.ide.application.IDEApplication.start
>> (IDEApplication.java:116)
>> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
>> eAppHandle.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(EclipseS
>> tarter.java:369)
>> 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:
>> 619)
>> at
>> org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
>> at
>> org.eclipse.equinox.launcher.Main.run(Main.java:1407)
>> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
>> $TerminatingClassNotFoundException: An error occurred
>> while automatically activating bundle
>> org.eclipse.core.resources (174).
>> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
>> .postFindLocalClass(EclipseLazyStarter.java:121)
>> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
>> alClass(ClasspathManager.java:453)
>> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
>> dLocalClass(DefaultClassLoader.java:216)
>> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
>> (BundleLoader.java:393)
>> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
>> ss(SingleSourcePackage.java:33)
>> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
>> nal(BundleLoader.java:466)
>> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
>> leLoader.java:422)
>> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
>> leLoader.java:410)
>> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
>> dClass(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.s
>> tartActivator(BundleContextImpl.java:806)
>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
>> tart(BundleContextImpl.java:755)
>> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
>> ker(BundleHost.java:370)
>> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
>> t(AbstractBundle.java:284)
>> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
>> ion.java:417)
>> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
>> (BundleLoader.java:265)
>> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
>> .postFindLocalClass(EclipseLazyStarter.java:106)
>> ... 22 more
>> Caused by:
>> org.eclipse.core.internal.resources.ResourceException:
>> Incompatible file format. Workspace was saved with an
>> incompatible version: 1331426228.
>> at org.eclipse.core.internal.resources.WorkspaceTreeReader.getR
>> eader(WorkspaceTreeReader.java:58)
>> at org.eclipse.core.internal.resources.WorkspaceTreeReader.getR
>> eader(WorkspaceTreeReader.java:66)
>> at org.eclipse.core.internal.resources.SaveManager.restoreTree(
>> SaveManager.java:978)
>> at org.eclipse.core.internal.resources.SaveManager.restore(Save
>> Manager.java:665)
>> at org.eclipse.core.internal.resources.SaveManager.startup(Save
>> Manager.java:1503)
>> at org.eclipse.core.internal.resources.Workspace.startup(Worksp
>> ace.java:2134)
>> at org.eclipse.core.internal.resources.Workspace.open(Workspace
>> .java:1883)
>> at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPl
>> ugin.java:406)
>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1
>> .run(BundleContextImpl.java:783)
>> at java.security.AccessController.doPrivileged(Native
>> Method)
>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
>> tartActivator(BundleContextImpl.java:774)
>> ... 28 more
>
>
> Thanks for any assistance.
Re: Helios not starting [message #669578 is a reply to message #669484] Tue, 10 May 2011 19:44 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 4
Registered: August 2010
Junior Member
Thanks for the reply.

Yes, I have successfully started the application previously. This behaviour started when the PC crashed as the application was shutting down yesterday.
Re: Helios not starting [message #674449 is a reply to message #669360] Fri, 27 May 2011 00:26 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 4
Registered: August 2010
Junior Member
Can anyone help with this, please? I still cannot get Eclipse to start.

Thanks.
Re: Helios not starting [message #674463 is a reply to message #674449] Fri, 27 May 2011 02:53 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
> Caused by: org.eclipse.core.internal.resources.ResourceException: Incompatible file format. Workspace was saved with an incompatible version: 1331426228.

Maybe workspace/.metadata/.plugins/org.eclipse.core.resources/.root/*.tree has been corrupted. Maybe.

So, rename workspace to workspace_old, start eclipse(new workspace will be created automatically), then import "Existing projects" from old workspace.

(If I were you, I'll delete *.tree, start eclipse(at this time, all projects will be vanished in the workspace), and then import "Existing projects" from current workspace without copying. But I'm not sure this is reliable.)
Re: Helios not starting [message #674600 is a reply to message #674449] Fri, 27 May 2011 13:45 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 26-May-11 18:26, forums-noreply@eclipse.org wrote:
> Can anyone help with this, please? I still cannot get Eclipse to start.
>
> Thanks.

By now you could have reinstalled and tried again to see if it fixed the
problem. You can have as many copies of Eclipse as you like.
icon12.gif  Re: Helios not starting [message #1723464 is a reply to message #674600] Mon, 15 February 2016 19:39 Go to previous messageGo to next message
Leandro Torres is currently offline Leandro TorresFriend
Messages: 1
Registered: February 2016
Junior Member
Look at the folders page in the eclipse instalation.

it could be in:

C:\Users\xxxx\.metadata\.plugins

I've removed some folders to test and I figured out the error was in the folder: org.eclipse.core.resources

I deleted it and problem solved!

It was due to an energy interruption who for sure must have corrupted a file.
Re: Helios not starting [message #1728709 is a reply to message #1723464] Wed, 06 April 2016 14:58 Go to previous messageGo to next message
Frank Fuss is currently offline Frank FussFriend
Messages: 1
Registered: April 2016
Junior Member
I encountered very similar problem launching LiveCycle ES4 Workbench. When clicking on the icon to start Workbench, I got the banner for about 2 seconds and then it closed. I checked the log file and found the same message in the root cause of the stack dump. I removed org.eclipse.core.resources folder from my .plugins folder and restarted LiveCycle Workbench. Worked like a charm! Thanks. - Frank
Re: Helios not starting [message #1742065 is a reply to message #1728709] Wed, 31 August 2016 04:43 Go to previous message
Rhys Drummond is currently offline Rhys DrummondFriend
Messages: 2
Registered: August 2016
Junior Member
The only thing I'd add to this is that in the above cases, C:\Users\xxxx\ actually refers to the workspace folder; it could be anywhere, not just under C:\Users.
Previous Topic:Cannot Find Eclipse Button Mac OSX
Next Topic:Request for information - UML
Goto Forum:
  


Current Time: Tue Apr 23 07:31:55 GMT 2024

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

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

Back to the top