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的

  • 相关阅读:
    nodepad++中的正则表达式匹配和替换操作。
    QT Creator配置环境和安装
    圣诞树小程序的制作
    C#编辑xml文件
    delegate里的Invoke和BeginInvoke
    记录RFID操作错误
    关于Panel隐藏横向滚动条
    随笔
    Java图形打印 上下对称三角星
    Centos 7.5安装 Redis 5.0.0
  • 原文地址:https://www.cnblogs.com/ShepherdIsland/p/FLEX_SDK_ContainerController_updateGraphics_Error_1009.html
Copyright © 2011-2022 走看看