[
https://issues.apache.org/jira/browse/FLEX-33794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828632#comment-13828632
]
Stefan Overkamp commented on FLEX-33794:
----------------------------------------
Using FlashPlayer 11.9 and Apache Flex 4.11 the problem is not reproducable.
> #1502 Timeout Laying out spark DataGrid on dataProvider refresh() after
> scrolling
> ---------------------------------------------------------------------------------
>
> Key: FLEX-33794
> URL: https://issues.apache.org/jira/browse/FLEX-33794
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DataGrid
> Affects Versions: Apache Flex 4.10.0
> Reporter: Stefan Overkamp
> Assignee: Justin Mclean
> Priority: Critical
> Labels: error
> Attachments: Flex4_10_DataGrid.mxml
>
>
> 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]
--
This message was sent by Atlassian JIRA
(v6.1#6144)