[flexcoders] Upgrade to 2.01 causes an exception

2007-01-08 Thread Mark Piller
Here's an exception I get when I tried to access one of my apps. It
used to work prior to upgrade. If anyone has any ideas, please let me
know.

Thanks,
Mark

ArgumentError: Error #2082: Connect failed because the object is
already connected.
at flash.net::LocalConnection/connect()
at mx.managers::HistoryManagerImpl$iinit()
at mx.managers::HistoryManagerImpl$/getInstance()
at mx.core::Singleton$/getInstance()
at mx.managers::HistoryManager$/get ::impl()
at mx.managers::HistoryManager$/unregister()
at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties()
at
mx.containers::TabNavigator/mx.containers:TabNavigator::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()



RE: [flexcoders] Upgrade to 2.01 causes an exception

2007-01-08 Thread Seth Hodgson
Hi Mark,

That should be an intermittent problem. If the Flash Player is force
quite (due to a crash, force quiting your browser in Windows Task
Manager, or possibly stopping a debug session in FlexBuilder) a
LocalConnection may be orphaned in shared memory. When this happens, if
you restart your app and it attempts to reconnect its LocalConnection it
will fail. 

Try making sure all Player instances are shut down which will clean up
the orphaned LocalConnection and worst case, restart. There's a bug
logged for this and you won't hit it during normal operation.

HTH,
Seth



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Piller
Sent: Monday, January 08, 2007 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Upgrade to 2.01 causes an exception



Here's an exception I get when I tried to access one of my apps. It
used to work prior to upgrade. If anyone has any ideas, please let me
know.

Thanks,
Mark

ArgumentError: Error #2082: Connect failed because the object is
already connected.
at flash.net::LocalConnection/connect()
at mx.managers::HistoryManagerImpl$iinit()
at mx.managers::HistoryManagerImpl$/getInstance()
at mx.core::Singleton$/getInstance()
at mx.managers::HistoryManager$/get ::impl()
at mx.managers::HistoryManager$/unregister()
at mx.containers::ViewStack/mx.containers:ViewStack::commitProperties()
at
mx.containers::TabNavigator/mx.containers:TabNavigator::commitProperties
()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
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()