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

HBox / HGroup and IncludeIn (states) within TabNavigator gives an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: Tab Navigator
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create 2 states
      2. Create a small layout with a 2 HBox or 2 HGroups
      3. Set each state on the IncludeIn on the 2 Hbox or 2 HGroup

      Actual Results:
      Gives this error when loading
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.states::AddItems/addItemsToArray()[E:\dev\trunk\frameworks\projects\framework\src\mx\states\AddItems.as:697]
      at mx.states::AddItems/apply()[E:\dev\trunk\frameworks\projects\framework\src\mx\states\AddItems.as:535]
      at mx.core::UIComponent/applyState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9334]
      at mx.core::UIComponent/commitCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9103]
      at mx.core::UIComponent/creationCompleteHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:10604]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:11449]
      at mx.core::UIComponent/set initialized()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:1522]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1067]

      Expected Results:
      It should show one of the Hbox or Hgroup

      Workaround (if any):
      None

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: