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

#1502 Timeout Laying out spark DataGrid on dataProvider refresh()

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Apache Flex 4.10.0
    • None
    • Spark: Layout
    • None
    • Windows 7

    Description

      Having a spark DataGrid bound to a DataCollection (clear.collections.DataCollection) I get a #1502 Timeout error when I refresh() the Collection but only when I scrolled the DataGrid and selected an item.
      Going back to Apache Flex 4.9.1 or a mx:DataGrid there is no #1502.

      Exception fault: Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
      at mx.managers::LayoutManager/validateClient()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:948]
      at mx.core::UIComponent/validateNow()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:8339]
      at spark.components.gridClasses::GridViewLayout/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/gridClasses/GridViewLayout.as:1031]
      at spark.components.supportClasses::GroupBase/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as:1302]
      at spark.components::Group/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Group.as:1178]
      at mx.core::UIComponent/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:9261]
      at spark.components::Group/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Group.as:1100]
      at mx.managers::LayoutManager/validateClient()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1041]
      at mx.core::UIComponent/validateNow()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:8339]
      at spark.components::Grid/ensureCellIsVisible()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Grid.as:3742]
      at spark.components::Grid/updateCaretForDataProviderChange()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Grid.as:5409]
      at spark.components::Grid/dataProvider_collectionChangeHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/spark/src/spark/components/Grid.as:5623]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ListCollectionView/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/collections/ListCollectionView.as:1091]
      at mx.collections::ListCollectionView/internalRefresh()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/collections/ListCollectionView.as:1646]
      at mx.collections::ListCollectionView/refresh()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/collections/ListCollectionView.as:487]

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gisworks Stefan Overkamp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment