Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Included SWC dependency problem with Cairngorm - anyone else?   Message List  
Reply | Forward Message #64901 of 149536 |
Re: Included SWC dependency problem with Cairngorm - anyone else?

I had a similar problem where I was using cairngorm without including
the swc and I got an error from IServiceLocator because it couldn't find
the mx.data.DataService class. So I imported the cairngorm swc into the
library path and everything was kosher. I'm still using flex 2.0. Is it
suppose to be that way?
-Dustin


--- In flexcoders@yahoogroups.com, "Oliver Tupman" <oliver.tupman@...>
wrote:
>
> 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.internalGetF\
ileInfoW(Native
> Method)
> at
>
org.eclipse.core.internal.filesystem.local.LocalFileNatives.fetchFileInf\
o(
> 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.fastIsSyn\
chronized
> (FileSystemResourceManager.java:295)
> at
org.eclipse.core.internal.resources.File.refreshLocal(File.java:333)
> at
>
com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenc\
eFile(Unknown
> Source)
> at
>
com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectS\
ettings.<init>(Unknown
> Source)
> at
com.adobe.flexbuilder.project.internal.FlexLibraryProjectSettings.<init>\
(Unknown
> Source)
> at
>
com.adobe.flexbuilder.project.internal.FlexLibraryProject.createDescript\
ion(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(U\
nknown
> Source)
> at
>
com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreat\
or.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$ProjectCreat\
or.safeGetOrCreate(Unknown
> Source)
> at
>
com.adobe.flexbuilder.project.actionscript.ActionScriptCore.getProject(U\
nknown
> Source)
> at
com.adobe.flexbuilder.project.internal.FlexLibraryCore.getProject(Unknow\
n
> Source)
> at
>
com.adobe.flexbuilder.project.ClassPathEntryFactory$LibraryFilePath.getP\
roject(Unknown
> Source)
> at
com.adobe.flexbuilder.project.ClassPathEntryFactory$LibraryFilePath.<ini\
t>(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.readPersistenc\
eFile(Unknown
> Source)
> at
>
com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectS\
ettings.<init>(Unknown
> Source)
> at
com.adobe.flexbuilder.project.internal.FlexLibraryProjectSettings.<init>\
(Unknown
> Source)
> at
>
com.adobe.flexbuilder.project.internal.FlexLibraryProject.createDescript\
ion(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(U\
nknown
> Source)
> at
>
com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreat\
or.run(Unknown
> Source)
> --- This portion repeats until Eclipse dies
>
>
>
> On 14/02/07, jason.proulx@... jason.proulx@... 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*
> >
> > jason.proulx@...
> > ------------------------------
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] *On
> > Behalf Of *Oliver Tupman
> > *Sent:* February 14, 2007 11:20 AM
> > *To:* flexcoders@yahoogroups.com
> > *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
> >
> >
> >
>





Wed Feb 14, 2007 9:39 pm

dirtmediaworld
Offline Offline
Send Email Send Email

Forward
Message #64901 of 149536 |
Expand Messages Author Sort by Date

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 ...
Oliver Tupman
otupman
Offline Send Email
Feb 14, 2007
4:29 pm

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...
jason.proulx@...
Send Email
Feb 14, 2007
4:42 pm

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...
Oliver Tupman
otupman
Offline Send Email
Feb 14, 2007
5:42 pm

I had a similar problem where I was using cairngorm without including the swc and I got an error from IServiceLocator because it couldn't find the...
Dustin
dirtmediaworld
Offline Send Email
Feb 14, 2007
9:40 pm

I had the same problem. It seems like the Cairngorm project source has something inside the files that FB does not like. It would be great that Adobe put some...
Carlos Rovira
carlos.rovira
Offline Send Email
Feb 17, 2007
10:32 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help