Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24235

Runtime AS errors occur on mx:Text with SDK 4.5 (10.1) when swf compiled with 'use FTE with MX components'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • mx: Text
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      I attached 2 files - the swf and the mxml

      Steps to reproduce:
      1. you can run the swf a few times and you may see that occasionally no text is rendered (no errors unless you debug)

      OR in FB using the hero_private branch sdk
      1. compile the mxml with the "Use FTE with MX components" compiler option
      2. debug the app - you may have to run it 3 or 4 (or more) times before you get this runtime

      Actual Results:
      Getting this run time error

      [SWF] Users:bsahlas:depot:flex:qa:development:eclipse:projects:MyMXBugsHalo:bin-debug:Test7.swf - 2,435,729 bytes after decompression
      ArgumentError: Error #2004: One of the parameters is invalid.
      at Error$/throwError()
      at flash.text.engine::TextBlock/recreateTextLine()
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at _Test7_mx_managers_SystemManager/callInContext()
      at flashx.textLayout.container::TextContainerManager/recreateTextLine()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:933]
      at flashx.textLayout.container::TextContainerManager/callInContext()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:866]
      at flashx.textLayout.compose::SimpleCompose/createTextLine()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\SimpleCompose.as:234]
      at flashx.textLayout.compose::SimpleCompose/composeNextLine()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\SimpleCompose.as:186]
      at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:395]
      at flashx.textLayout.compose::SimpleCompose/composeParagraphElement()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\SimpleCompose.as:165]
      at flashx.textLayout.compose::BaseCompose/composeBlockElement()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:219]
      at flashx.textLayout.compose::BaseCompose/composeInternal()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:372]
      at flashx.textLayout.compose::BaseCompose/composeTextFlow()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:339]
      at flashx.textLayout.compose::SimpleCompose/composeTextFlow()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\SimpleCompose.as:113]
      at FactoryDisplayComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextLineFactoryBase.as:422]
      at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:758]
      at flashx.textLayout.compose::StandardFlowComposer/compose()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:821]
      at flashx.textLayout.factory::TextFlowTextLineFactory/createTextLines()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\factory\TextFlowTextLineFactory.as:127]
      at flashx.textLayout.container::TextContainerManager/compose()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1254]
      at flashx.textLayout.container::TextContainerManager/updateContainer()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1294]
      at mx.core::FTETextField/composeHTMLText()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/spark/src/mx/core/FTETextField.as:3130]
      at mx.core::FTETextField/validateNow()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/spark/src/mx/core/FTETextField.as:2560]
      at mx.core::FTETextField/get htmlText()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/spark/src/mx/core/FTETextField.as:1101]
      at mx.controls::Label/textFieldChanged()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/mx/src/mx/controls/Label.as:1593]
      at mx.controls::Label/textField_textFieldStyleChangeHandler()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/mx/src/mx/controls/Label.as:1662]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIFTETextField/validateNow()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/spark/src/mx/core/UIFTETextField.as:2221]
      at mx.core::UIFTETextField/set htmlText()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/spark/src/mx/core/UIFTETextField.as:480]
      at mx.controls::Label/commitProperties()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/mx/src/mx/controls/Label.as:1379]
      at mx.controls::Text/commitProperties()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/mx/src/mx/controls/Text.as:304]
      at mx.core::UIComponent/validateProperties()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as:7968]
      at mx.managers::LayoutManager/validateProperties()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.as:572]
      at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.as:700]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/bsahlas/svn/flexsdk/private/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1072]

      Expected Results:

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: