在 Flex 3 中使用 HTTPService 时,我偶尔会遇到 ConcurrencyError 错误。我有四个 HTTPService 对象,全部配置为 concurrency=single。我不确定如何继续诊断,因为我在 FaultEvent 中没有看到是什么服务对象导致了问题,而且我无法轻松地按需重现它。
我的应用程序的一项功能是,在收到来自 HTTPService 调用之一的结果后不久,我还使用 URLRequest 加载声音。这可能与并发错误有关吗?
故障如下所示:
[FaultEvent fault=[RPC Fault faultString="Attempt to invoke while another call is pending. Either change concurrency options or avoid multiple calls." faultCode="ConcurrencyError" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]