The expected argument types are (java.util.Map) but the supplied types were(java.lang.String) and converted to (null).

来源:互联网 发布:人工蜂群算法 java 编辑:程序博客网 时间:2024/06/06 01:33

Flex异常:The expected argument types are (java.util.Map) but the supplied types  were(java.lang.String) and converted to (null)

 

解决方法:

breedPlanDemandBO.query(ResultEvent.RESULT,queryResultHandler);//没有加addEventListener

breedPlanDemandBO.query(obj);

 

private function queryResultHandler(event:ResultEvent):void{}