It looks to me that a server request has returned with a successful result, but the esri handler decided there was something wrong and is calling an error handler (handleError), which tries to call the fault() handler on that server request. The function signature on that fault handler is expecting a FaultEvent when it either should expect an mx.rpc.Fault, or maybe handleError passed an mx.rpc.Fault when it should have passed a FaultEvent.
If you can catch this in the debugger, there should be more information in the various objects to further help you figure out which request is doing this. I don't know this code at all, but it could be that ESRI is checking for licensing or authentication when the request is successful. HTH, -Alex On 3/26/16, 9:10 PM, "Paul Hastings" <[email protected]> wrote: >getting a consistent & to me strange error on one server that is *not* >happening >on any other server that this app runs from. kind of at a loss to debug >this >further. the error: > > >TypeError: Error #1034: Type Coercion failed: cannot convert >mx.rpc::Fault@5e00bb4db51 to mx.rpc.events.FaultEvent. > at >mx.rpc::AsyncResponder/fault()[/Users/aharui/release4.13.0/frameworks/proj >ects/rpc/src/mx/rpc/AsyncResponder.as:119] > at >com.esri.ags.tasks::BaseTask/handleError()[C:\checkout\flex_api\api\src\co >m\esri\ags\tasks\BaseTask.as:795] > at >com.esri.ags.tasks::BaseTask/handleResultEvent()[C:\checkout\flex_api\api\ >src\com\esri\ags\tasks\BaseTask.as:731] > at >mx.rpc::AsyncResponder/result()[/Users/aharui/release4.13.0/frameworks/pro >jects/rpc/src/mx/rpc/AsyncResponder.as:103] > at >mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult >()[/Users/aharui/release4.13.0/frameworks/projects/rpc/src/mx/rpc/AsyncTok >en.as:247] > at >mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::cal >lTokenResponders()[/Users/aharui/release4.13.0/frameworks/projects/rpc/src >/mx/rpc/events/ResultEvent.as:215] > at >HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent >()[/Users/aharui/release4.13.0/frameworks/projects/rpc/src/mx/rpc/http/HTT >PService.as:999] > at >mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::result >Handler()[/Users/aharui/release4.13.0/frameworks/projects/rpc/src/mx/rpc/A >bstractInvoker.as:365] > at >mx.rpc::Responder/result()[/Users/aharui/release4.13.0/frameworks/projects >/rpc/src/mx/rpc/Responder.as:64] > at >mx.rpc::AsyncRequest/acknowledge()[/Users/aharui/release4.13.0/frameworks/ >projects/rpc/src/mx/rpc/AsyncRequest.as:92] > at >DirectHTTPMessageResponder/completeHandler()[/Users/aharui/release4.13.0/f >rameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as:459] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/onComplete() > at >mx.messaging.messages::AcknowledgeMessage()[/Users/aharui/release4.13.0/fr >ameworks/projects/rpc/src/mx/messaging/messages/AcknowledgeMessage.as:78] > >none of the app files are listed in the error statement just the bits >from down >in the bowels of the framework. framework versions, etc. match across all >the >servers. > >any help appreciated. > >thanks.
