So, a little more info on the managed associations. If I have lazy="true" on the one, I don't get the stack overflow, however the properties cannot be accessed. It is null. I would have expected the "ItemPendingError" and the property to be fetched, but it is just null.
Anyone know anything about this happening? thanks, Thunder --- In [email protected], "thunderstumpgesatwork" <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > I think this may be a bug. I have some classes that have > bi-directional managed associations. If both sides are declared > lazy=false, I'm getting a stack overflow error in Flex when the > results are returned. > > See the error output below. Any ideas? Shouldn't this work? > > thanks, > Thunder > > Error: Error #1023: Stack overflow occurred. > at > mx.events::PropertyChangeEvent/clone()[C:\dev\GMC\sdk\frameworks\mx\events\PropertyChangeEvent.as:223] > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:548] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelKeyAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelKeyAttributesVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelRelatedAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelRelatedAttributesVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::CubeItemVO/dispatchEvent()[C:\Flex\src\company\com\company\config\CubeItemVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::CubeContainerVO/dispatchEvent()[C:\Flex\src\company\com\company\config\CubeContainerVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelKeyAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelKeyAttributesVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelRelatedAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelRelatedAttributesVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::CubeItemVO/dispatchEvent()[C:\Flex\src\company\com\company\config\CubeItemVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::CubeContainerVO/dispatchEvent()[C:\Flex\src\company\com\company\config\CubeContainerVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551] > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > com.company.config::LevelKeyAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelKeyAttributesVO.as:0] > at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412] > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

