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 生日广州男生祝福语简短