long龙8国际中文网

一个关于 编程问题的解答网站.

有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

flex警报或弹出窗口期间出现java错误#1009

每当我提醒或弹出某些内容时,我的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]

共 (1) 个答案

  1. # 1 楼答案

    问题在于ant构建脚本。它通过flex builder工作,但在通过ant生成的war中失败,我转储flex builder的所有配置,并使用配置文件使用的所有参数修改ant脚本,它开始工作