You could also try disabling the historyManagement to see if its the
only problem, but you could encounter the shared code problem later...

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The stack trace indicates the shared code problem described on my blog
> in the presentation on modules (blogs.adobe.com/aharui)
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Gus
> Sent: Tuesday, August 26, 2008 12:13 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Help, Random module load issues.
> 
>  
> 
> Hi,
> 
> maybe the problem can be caused by this,
> http://bugs.adobe.com/jira/browse/SDK-14669
> <http://bugs.adobe.com/jira/browse/SDK-14669> 
> 
> The workaround is basically load the modules in sequence due to RSL
> and modules bug. P.S: I'm assuming you're using RSL, is it true?
> 
> HTH
> Gus 
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "mthielman11" <mthielman@> wrote:
> >
> > Hey everyone. We are experiencing a ton of issues with our app with
> > regards to module loading. Our main app at this point has 4 main sub
> > modules. Until now only a couple users tended to switch between them
> > but now it is becoming more common. We have noticed a completely
> > random but troublesome bug. Many times when switching from one module
> > to the next we get either history manager errors or the module loads
> > 100% then is just blank, so it never really fully loads. You then need
> > to exit the app and try again. Sometimes it will work, often times it
> > does not. We are not even using history manager and i have even
> > disabled it in the compiler settings and still get the issue. Here are
> > some sample errors: 
> > 
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > mx.managers::[EMAIL PROTECTED] to
> mx.managers.IHistoryManager.
> > at mx.managers::HistoryManager$/get impl()
> > at mx.managers::HistoryManager$/unregister()
> > at mx.containers::ViewStack/removedFromStageHandler()
> > at flash.display::DisplayObjectContainer/addChild()
> > at
> >
> mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::createCon
> tentPane <http://www.adobe.com/2006/flex/mx/internal::createContentPane>
> ()
> > at mx.core::Container/createOrDestroyScrollbars()
> > at mx.core::Container/createScrollbarsIfNeeded()
> > at mx.core::Container/createContentPaneAndScrollbarsIfNeeded()
> > at mx.core::Container/validateDisplayList()
> > at mx.managers::LayoutManager/validateDisplayList()
> > at mx.managers::LayoutManager/doPhasedInstantiation()
> > at Function/http://adobe.com/AS3/2006/builtin::apply
> <http://adobe.com/AS3/2006/builtin::apply> ()
> > at mx.core::UIComponent/callLaterDispatcher2()
> > at mx.core::UIComponent/callLaterDispatcher()
> > 
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > mx.managers::[EMAIL PROTECTED] to
> mx.managers.IHistoryManager.
> > at mx.managers::HistoryManager$/get impl()
> > at mx.managers::HistoryManager$/unregister()
> > at mx.containers::ViewStack/removedFromStageHandler()
> > at flash.display::DisplayObjectContainer/removeChild()
> > at
> >
> mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$remove
> Child <http://www.adobe.com/2006/flex/mx/internal::$removeChild> ()
> > at mx.core::Container/removeChild()
> > at mx.modules::ModuleLoader/set url()
> > at Login/switchModule()
> > at com.zebramenubar::app_code/menuHandler()
> > at flash.events::EventDispatcher/dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.core::UIComponent/dispatchEvent()
> > at mx.controls::MenuBar/eventHandler()
> > at flash.events::EventDispatcher/dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at mx.core::UIComponent/dispatchEvent()
> > at mx.controls::Menu/dispatchEvent()
> > at mx.controls::Menu/mouseUpHandler()
> > 
> > We have not idea where to begin, one of our devs can never ever even
> > get this to happen! Any suggestions are greatly appreciated. Thanks.
> >
>


Reply via email to