每当我发出警告或弹出某个内容时,我的flex项目都会收到错误#1009 -
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers.marshalClasses::FocusManagerMarshalMixin/focusInHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::FocusManager/focusInHandler()
at flash.display::Stage/set focus()
at mx.core::UIComponent/setFocus()
at spark.components::RichEditableText/setFocus()
at spark.components.supportClasses::SkinnableTextBase/setFocus()
at Utils.LogUtils::Logger/ShowLogMessageWindow()[C:\Branch_Code\{XXXXXX - Hidden Path- XXXXXXXX}\Utils\LogUtils\Logger.as:49]
at com.X.views::AppView/viewLogsButtonHandler()[C:\XXXXXXXXXXXXXXXXXXXXXXXXXX:996]
at com.x.views::AppView/__idViewLog_click()[C:\XXXXXXXXXXXXXXXXXX.mxml:1433]
答案 0 :(得分:0)
与ant build脚本一样的问题。虽然它正在使用flex构建器,但是在通过ant生成的war中失败了,我转储了flex builder的所有配置并使用配置文件使用的所有参数修改了ant脚本并且它开始工作。