zoukankan      html  css  js  c++  java
  • FLEX SDK ContainerController updateGraphics Error #1009

    error stack:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::updateGraphics()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:3182]
        at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::updateCompositionShapes()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:3080]
        at flashx.textLayout.compose::StandardFlowComposer/updateCompositionShapes()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:616]
        at flashx.textLayout.compose::StandardFlowComposer/updateToController()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:559]
        at flashx.textLayout.container::ContainerController/updateForScroll()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:1119]
        at flashx.textLayout.container::ContainerController/set verticalScrollPosition()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:985]
        at flashx.textLayout.container::TextContainerManager/set verticalScrollPosition()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:850]
        at spark.components::RichEditableText/commitProperties()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\RichEditableText.as:2637]
        at mx.core::UIComponent/validateProperties()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:8209]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\LayoutManager.as:597]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\LayoutManager.as:813]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]

    see:http://forums.adobe.com/thread/851572

    http://forums.adobe.com/message/3674136#3674136

    这个问题出现在sdk [4.5.0-20967]、[4.5.1-21328]、[4.6.0-22920]上,在此之间这个类没有改动过。在4.5.0-17689这个类使用的是updateFloats方法而不是updateGraphics。

    这个错误是基于TLF 2的版本,根据开发论坛所说,这个问题在TLF2.1修复,地址在http://sourceforge.net/projects/tlf.adobe/files ,这个文件不会包含在sdk中,并且也不会提供该SWZ的RSL缓存服务。如果不是非要使用这个版本,官方推荐是使用TLF3.0。

    bug:http://bugs.adobe.com/jira/browse/SDK-29654

    http://sourceforge.net/projects/tlf.adobe/files/3.0/current/textLayout_build.zip/download 下载 textLayout_build.zip 解压 libs/textLayout.swc替换掉sdk目录下frameworks/libs/textLayout.swc文件。不过这个貌似是3.0的

  • 相关阅读:
    linux下TOMCAT自启动
    Tomcat指定(JDK路径)JAVA_HOME而不用环境变量
    Windows防火墙无法正常打开或关闭,上方显示"出于安全原因 某些设置由系统管理员管理”解决方法
    Windows实用操作
    [INS-30131]执行安装程序验证所需的初始设置失败(无法访问临时位置)解决方法!
    Linux 网络一般设置
    集合(set)-Python3
    zip函数-Python 3
    enumerate用法总结-Python 3
    Python3中的字符串函数学习总结
  • 原文地址:https://www.cnblogs.com/ShepherdIsland/p/FLEX_SDK_ContainerController_updateGraphics_Error_1009.html
Copyright © 2011-2022 走看看