Okay, I've had a bit more of a play and I have appeared to narrow it down on this: I can't seem to be able to use the Cairngorm from a Flex Library project. It doesn't work if it's included as an SWC or as a project link.
If anyone from Adobe's listening, the exception that FB bombs out on is this: !ENTRY org.eclipse.ui 4 4 2007-02-14 17:19:07.937 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2007-02-14 17:19:07.953 !MESSAGE java.lang.StackOverflowError !STACK 0 java.lang.StackOverflowError at org.eclipse.core.internal.filesystem.local.LocalFileNatives.internalGetFileInfoW(Native Method) at org.eclipse.core.internal.filesystem.local.LocalFileNatives.fetchFileInfo( LocalFileNatives.java:60) at org.eclipse.core.internal.filesystem.local.LocalFile.fetchInfo( LocalFile.java:119) at org.eclipse.core.filesystem.provider.FileStore.fetchInfo( FileStore.java:253) at org.eclipse.core.internal.localstore.FileSystemResourceManager.fastIsSynchronized (FileSystemResourceManager.java:295) at org.eclipse.core.internal.resources.File.refreshLocal(File.java:333) at com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenceFile(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProjectSettings.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.createDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.loadDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexBasedProject.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.<init>(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$3.doCreate(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreator.run(Unknown Source) --- This portion repeats until Eclipse dies at org.eclipse.core.internal.resources.Workspace.run(Workspace.java :1737) at com.adobe.flexbuilder.project.FlexWorkspaceRunner.run(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreator.safeGetOrCreate(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore.getProject(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryCore.getProject(Unknown Source) at com.adobe.flexbuilder.project.ClassPathEntryFactory$LibraryFilePath.getProject(Unknown Source) at com.adobe.flexbuilder.project.ClassPathEntryFactory$LibraryFilePath.<init>(Unknown Source) at com.adobe.flexbuilder.project.ClassPathEntryFactory.newEntry(Unknown Source) at com.adobe.flexbuilder.project.persist.ClassPathSetting.read(Unknown Source) at com.adobe.flexbuilder.project.persist.ContainerTag.read(Unknown Source) at com.adobe.flexbuilder.project.persist.ContainerTag.read(Unknown Source) at com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenceFile(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProjectSettings.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.createDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.loadDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexBasedProject.<init>(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.<init>(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$3.doCreate(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreator.run(Unknown Source) --- This portion repeats until Eclipse dies On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hmm, I'm doing the same thing and it's working fine. I have been in situations like that before (not the same scenario), and deleting the .project files and recreating usually works. Otherwise, try removing the .swc dependency for both projects and re-adding it, or open up Cairngorm as a project and link directly to the project. Eclipse is definitely a finicky IDE. *Jay Proulx* [EMAIL PROTECTED] ------------------------------ *From:* [email protected] [mailto:[EMAIL PROTECTED] *On Behalf Of *Oliver Tupman *Sent:* February 14, 2007 11:20 AM *To:* [email protected] *Subject:* [flexcoders] Included SWC dependency problem with Cairngorm - anyone else? Hey all, I've got two Flex projects, both of which need to depend on the Cairngorm SWC. One project is the main application, the second is a series of helper classes to aid and abet it. So like this: [Main Application]----\ | >------ [Cairngorm SWC] [Helper project]--------/ If I cause both projects to link to the Cairngorm SWC file Flex Builder inevitably crashes, normally with an Eclipse stack overflow error. Does anyone else have this problem? How does anyone else handle such dependencies? Cheers, Oliver Tupman

