2

我们正在尝试自动化我们的 flex 应用程序。将自动化库添加到我们的项目后,我们得到以下异常:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager$/addDelegates()
 at mx.automation::AutomationManager/childAddedHandler()
 at flash.display::DisplayObjectContainer/addChildAt()
 at mx.managers::SystemManager/preloader_preloaderDoneHandler()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.preloaders::Preloader/displayClassCompleteHandler()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at com.bwin.core.preloading::ApplicationPreloader/onApplicationPreloadingReady()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.core::UIComponent/dispatchEvent()
 at com.bwin.core.preloading::PreloadingManager/dispatchReadyEvent()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.utils::Timer/tick()

我们使用 Flex 3.4 和 maven2 来构建应用程序。

有人对 flex-testing 有这个问题吗?

谢谢。

有没有人

4

1 回答 1

0

我在 Flex 3.x 应用程序上启用了自动化,但从未见过该异常。更多信息将有助于回答问题。

于 2010-08-02T21:16:42.260 回答