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

Linear Vector Layout on the ComboBox

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK 4.5 (Release)
    • Fix Version/s: Apache Flex 4.14.0
    • Component/s: Spark: ComboBox
    • Labels:
      None
    • Environment:
      Affected OS(s): Windows
      Language Found: English

      Description

      I'm not quite sure how to reproduce it yet, but here is the stacktrace:
      RangeError: Error #1125: The index 0 is out of range 0.
      at spark.layouts.supportClasses::LinearLayoutVector/getMajorSize()[E:\dev\hero_private\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:420]
      at spark.layouts.supportClasses::LinearLayoutVector/getBounds()[E:\dev\hero_private\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:1112]
      at spark.layouts::VerticalLayout/getElementBounds()[E:\dev\hero_private\frameworks\projects\spark\src\spark\layouts\VerticalLayout.as:888]
      at spark.layouts.supportClasses::LayoutBase/http://www.adobe.com/2006/flex/mx/internal::getScrollPositionDeltaToElementHelper()[E:\dev\hero_private\frameworks\projects\spark\src\spark\layouts\supportClasses\LayoutBase.as:1477]
      at spark.components.supportClasses::DropDownListBase/http://www.adobe.com/2006/flex/mx/internal::positionIndexInView()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:660]
      at spark.components.supportClasses::DropDownListBase/http://www.adobe.com/2006/flex/mx/internal::changeHighlightedSelection()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:638]
      at spark.components::ComboBox/processInputField()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\ComboBox.as:609]
      at spark.components::ComboBox/textInput_changeHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\ComboBox.as:1060]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
      at spark.components.supportClasses::SkinnableTextBase/textDisplay_changeHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:2240]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
      at spark.components::RichEditableText/textContainerManager_flowOperationCompleteHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\RichEditableText.as:4808]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flashx.textLayout.container::TextContainerManager/dispatchEvent()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1553]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flashx.textLayout.elements::TextFlow/dispatchEvent()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\elements\TextFlow.as:859]
      at flashx.textLayout.edit::EditManager/finalizeDo()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\edit\EditManager.as:669]
      at flashx.textLayout.edit::EditManager/doOperation()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\edit\EditManager.as:613]
      at flashx.textLayout.edit::EditManager/deletePreviousCharacter()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\edit\EditManager.as:1378]
      at flashx.textLayout.edit::EditManager/keyDownHandler()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\edit\EditManager.as:362]
      at flashx.textLayout.container::ContainerController/keyDownHandler()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:2449]
      at flashx.textLayout.container::TextContainerManager/keyDownHandler()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1844]
      at spark.components.supportClasses::RichEditableTextContainerManager/keyDownHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\RichEditableTextContainerManager.as:638]

        Attachments

        1. FLEX-28291.fxp
          27 kB
          Mihai Chira

          Issue Links

            Activity

              People

              • Assignee:
                evolverine Mihai Chira
                Reporter:
                adobejira Adobe JIRA
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: