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

[PerModuleStyleManagement] RTE when module is reloaded.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Modules
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. compile app and module
      2. run the app
      3. click on load module then click on unload module
      4. again click on load module

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.core::UIComponent/getStyle()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/core/UIComponent.as:9931]
      at spark.components::Label/createTextLinesFromTextBlock()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/Label.as:827]
      at spark.components::Label/createTextLines()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/Label.as:804]
      at spark.components::Label/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/Label.as:424]
      at spark.components.supportClasses::TextBase/measure()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as:425]
      at mx.core::UIComponent/measureSizes()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/core/UIComponent.as:7646]
      at mx.core::UIComponent/validateSize()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/core/UIComponent.as:7570]
      at mx.managers::LayoutManager/validateClient()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/managers/LayoutManager.as:888]
      at mx.core::UIComponent/validateNow()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/core/UIComponent.as:7299]
      at spark.components::DataGroup/initializeTypicalItem()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/DataGroup.as:248]
      at spark.components::DataGroup/ensureTypicalLayoutElement()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/DataGroup.as:267]
      at spark.components::DataGroup/measure()[/Users/gauravj/depot/flex/sdk/frameworks/projects/spark/src/spark/components/DataGroup.as:1049]
      at mx.core::UIComponent/measureSizes()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/core/UIComponent.as:7646]
      at mx.core::UIComponent/validateSize()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/core/UIComponent.as:7570]
      at mx.managers::LayoutManager/validateSize()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/managers/LayoutManager.as:617]
      at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/managers/LayoutManager.as:733]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/gauravj/depot/flex/sdk/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1069]

      Expected Results:
      NO RTE.

      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: