Flex 错误(mx.messaging.messages::RemotingMessage)分析

(mx.messaging.messages::RemotingMessage)#0body = (Array)#1clientId = (null)destination = “”headers = (Object)#2messageId = “9D7C932F-AFFA-26C1-F624-C1EA7B88DB1B”operation = “getAllClasses”source = (null)timestamp = 0timeToLive = 0 从异常

(mx.messaging.messages::RemotingMessage)#0
body = (Array)#1
clientId = (null)
destination = “”
headers = (Object)#2
messageId = “9D7C932F-AFFA-26C1-F624-C1EA7B88DB1B”
operation = “getAllClasses”
source = (null)
timestamp = 0

timeToLive = 0

从异常信息中可以发现destination值为空字符串,根本原因是配置文件remoting-config.xml中没有定义destination对应的调用目标。

比如

var classesDao : RemoteObject = new RemoteObject(“ClassesDao”);

到remoting-config.xml中查找destination标签Id为ClassesDao的声明,没有找到,所以报告如上异常信息。

关于作者: dawei

【声明】:石家庄站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

为您推荐