I see two possible things that could cause this error: 1) you have a fault handler whose function definition takes a MessageFaultEvent parameter. You need to change that to the common base class which is (I think) a FaultEvent so it can accept both a MessageFaultEvent and a DataServiceFaultEvent. 2) there is a bug in LCDS where it is doing 1).
If you check your code and you don't have any event handlers which take a MessageFaultEvent, it is probably 2). I don't have access to the source anymore or I'd check into 2) for you... Jeff On Mon, May 25, 2009 at 5:17 AM, Johannes Nel <johannes....@gmail.com>wrote: > > > Hi All > > I have a LCDS app which must stay open for ages, deal with dodgy internet > connections and all such fun things. > Thus far we have managed to get the NetConnection to re-establish itself > nicely when the line drops, but here is a wonderful error (which does not > actually break the app) that i get after having the app open for a few > hours, only on OS X. > > So, the fact that it does not touch our code anywhere means that I have no > way of trapping this. I would really like some advice on how i can suppress > or even catch it. > > > > TypeError: Error #1034: Type Coercion failed: cannot convert > mx.data.events::dataservicefaultev...@2cb864c1 to > mx.messaging.events.MessageFaultEvent. > at mx.data::ConcreteDataService/sendRefreshFault() > at mx.rpc::AsyncResponder/fault() > at mx.rpc::AsyncToken/ > http://www.adobe.com/2006/flex/mx/internal::applyFault() > at mx.rpc.events::FaultEvent/ > http://www.adobe.com/2006/flex/mx/internal::callTokenResponders() > at mx.data::ConcreteDataService/ > http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent() > at DataListRequestResponder/fault() > at mx.rpc::AsyncRequest/fault() > at NetConnectionMessageResponder/channelDisconnectHandler() > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at mx.messaging::Channel/disconnectSuccess() > at mx.messaging.channels::NetConnectionChannel/internalDisconnect() > at mx.messaging.channels::RTMPChannel/internalDisconnect() > at mx.messaging.channels::RTMPChannel/statusHandler() > > regards > Johan > -- > j:pn > \\no comment > >