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

Empty SplitViewNavigator causes RTE

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Run the following mobile program:

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">
      <s:SplitViewNavigator/>
      </s:Application>

      Actual Results:
      RangeError: Index 0 is out of range.
      at spark.components::Group/checkForRangeError()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1310]
      at spark.components::Group/getElementAt()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1291]
      at spark.components::SkinnableContainer/getElementAt()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:733]
      at spark.components::SplitViewNavigator/http://www.adobe.com/2006/flex/mx/internal::getViewNavigatorAt()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\SplitViewNavigator.as:359]
      at spark.components::SplitViewNavigator/get firstViewNavigator()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\SplitViewNavigator.as:219]
      at spark.components::SplitViewNavigator/set initialized()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\SplitViewNavigator.as:273]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:842]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]

      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: