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

RTE in LinearLayoutVector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Layout - General
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      I can not stably reproduce this RTE, it happens when a lot of changes to the dataProvider are made before the UI validation.

      Actual Results:

      RangeError: Error #1125: The index 4294967295 is out of range 1.
      at spark.layouts.supportClasses::LinearLayoutVector/copyInterval()[E:\dev\4.x\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:672]
      at spark.layouts.supportClasses::LinearLayoutVector/insertIntervals()[E:\dev\4.x\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:828]
      at spark.layouts.supportClasses::LinearLayoutVector/flushPendingChanges()[E:\dev\4.x\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:857]
      at spark.layouts.supportClasses::LinearLayoutVector/insert()[E:\dev\4.x\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:511]
      at spark.layouts::VerticalLayout/elementAdded()[E:\dev\4.x\frameworks\projects\spark\src\spark\layouts\VerticalLayout.as:1302]
      at spark.components::DataGroup/http://www.adobe.com/2006/flex/mx/internal::itemAdded()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\DataGroup.as:1525]
      at spark.components::DataGroup/adjustAfterAdd()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\DataGroup.as:1764]
      at spark.components::DataGroup/http://www.adobe.com/2006/flex/mx/internal::dataProvider_collectionChangeHandler()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\DataGroup.as:1687]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at com.pronto.lib.components.tree::TreeDataProvider/branch_collectionChangeHandler()[C:\Workspace-3.5.1\Pronto-clean\prontoLib\src\com\pronto\lib\components\tree\TreeDataProvider.as:782]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ListCollectionView/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1024]
      at mx.collections::ListCollectionView/addItemsToView()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1137]
      at mx.collections::ListCollectionView/listChangeHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1284]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ArrayList/internalDispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ArrayList.as:673]
      at mx.collections::ArrayList/addItemAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ArrayList.as:394]
      at mx.collections::ListCollectionView/addItemAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:596]
      at mx.collections::ListCollectionView/addItem()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:560]
      at com.pronto.modules.im.control::Roster/handlePresence()[C:\Workspace-3.5.1\Pronto-clean\modules\im\src\com\pronto\modules\im\control\Roster.as:414]
      at com.pronto.modules.im.control::Roster/presenceHandleTimer_timerHandler()[C:\Workspace-3.5.1\Pronto-clean\modules\im\src\com\pronto\modules\im\control\Roster.as:544]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      srcBlockIndex is calculated as "srcIndex >> BLOCK_SHIFT" while srcIndex is -1

      Expected Results:

      No RTE.

      Workaround (if any):

      No workaround.

      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: