Flex 错误(mx.messaging.messages::RemotingMessage)分析
先看下异常信息:
(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对应的调用目标。
比如
varclassesDao:RemoteObject=newRemoteObject("ClassesDao");
到remoting-config.xml中查找destination标签Id为ClassesDao的声明,没有找到,所以报告如上异常信息。
热门推荐
10 感谢韩语老师祝福语简短
11 升职文案高级祝福语简短
12 花童结婚祝福语大全简短
13 向国庆送祝福语简短
14 什么寄语简短祝福语女生
15 客户回礼祝福语大全简短
16 女孩生日祝福语简短创意
17 家长回复节日祝福语简短
18 给外婆敬酒祝福语简短