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{}
本文解决了Flex中因参数类型不匹配导致的异常问题。具体错误为期望的参数类型为(java.util.Map),而提供的类型为(java.lang.String)。通过正确使用addEventListener及调整参数类型,成功解决了这一异常。

7793

被折叠的 条评论
为什么被折叠?



