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

Adding components to a Spark Window before opening it seems to cause a RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Spark: Window
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1.Load the bugfile in AIR
      2.Click on the Button to open a Window with a TextInput in it.

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.primitives::RichEditableText/parentChanged()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()
      at mx.core::UIComponent/addChildAt()
      at spark.components::Group/addDisplayObjectToDisplayList()
      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()
      at spark.components::Group/setMXMLContent()
      at spark.components::Group/createChildren()
      at mx.core::UIComponent/initialize()
      at spark.skins.spark::TextInputSkin/initialize()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.core::UIComponent/addChild()
      at spark.components.supportClasses::SkinnableComponent/attachSkin()
      at spark.components.supportClasses::SkinnableComponent/validateSkinChange()
      at spark.components.supportClasses::SkinnableComponent/createChildren()
      at mx.core::UIComponent/initialize()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.core::UIComponent/addChildAt()
      at spark.components::Group/addDisplayObjectToDisplayList()
      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()
      at spark.components::Group/addElementAt()
      at spark.components::Group/addElement()
      at spark.components::SkinnableContainer/addElement()
      at testAIRProj/openAWin()
      at testAIRProj/___testAIRProj_Button1_click()

      If you try to add a Button instead of a TextInput, you get a different RTE.

      Expected Results: no RTE.

      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: