0
我想安裝Flex Monkey.I使用Flex SDK 3.5。我在Flex Builder中爲我的項目添加了其他編譯器參數-include-libraries "../libs/automation_monkey3.x.swc"
。現在,當我運行應用程序並單擊用戶名文本框時,出現以下錯誤。Flex猴問題
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.gorillalogic.aqadaptor::AQEnvironment/sortAncestors()[/Users/sstern/Documents/Projects/flexmonkey/MonkeyLink/src/com/gorillalogic/aqadaptor/AQEnvironment.as:328]
at Array$/_sort()
at Array/http://adobe.com/AS3/2006/builtin::sort()
at com.gorillalogic.aqadaptor::AQEnvironment/findAllAncestors()[/Users/sstern/Documents/Projects/flexmonkey/MonkeyLink/src/com/gorillalogic/aqadaptor/AQEnvironment.as:302]
at com.gorillalogic.aqadaptor::AQEnvironment/findClosestAncestor()[/Users/sstern/Documents/Projects/flexmonkey/MonkeyLink/src/com/gorillalogic/aqadaptor/AQEnvironment.as:275]
at com.gorillalogic.aqadaptor::AQEnvironment/getAutomationClassByInstance()[/Users/sstern/Documents/Projects/flexmonkey/MonkeyLink/src/com/gorillalogic/aqadaptor/AQEnvironment.as:246]
at mx.automation::AutomationManager/helpCreateIDPart()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:1880]
at mx.automation.delegates.core::ContainerAutomationImpl/createAutomationIDPart()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\core\ContainerAutomationImpl.as:185]
at mx.core::UIComponent/createAutomationIDPart()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9299]
at mx.automation::AutomationManager/captureID()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:2657]
at mx.automation::AutomationManager/captureIDFromMouseDownEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:2588]
當我刪除其他編譯器參數時,應用程序工作正常。我無法解決這個問題。任何幫助是極大的讚賞。