Hi,guys:
I got Flex #1502 error upon the Flex "ColumnChart" after running for a few
hours.
The stacktrace shows :
*Error: Error #1502: A script has executed for longer than the default
timeout period of 15 seconds.*
at mx.core::UITextField/set moduleFactory()
at _SCCASEPerfMonitor_mx_managers_SystemManager/create()
at
mx.core::UIComponent/createInModuleContext()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9035]
at
mx.core::UIComponent/createInFontContext()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9008]
at
mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1272]
at
mx.charts.chartClasses::Series/validateTransform()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1486]
at
mx.charts.chartClasses::Series/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
at
mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
at
mx.core::UIComponent/validateDisplayList()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6293]
at
mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:605]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:678]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8565]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8508]
*I use flex "ColumnChart" with dynamic columns to represent some dynamic
info. And the dataprovider for the "ColumnChart" refreshed at a regular
interval. I use following code to create and refresh the columns :*
..........
var series : Array = new Array;
var index : int = 0;
for each(item in xmlList)
{
if(item.state == "online")
{
var columnSeries : ColumnSeries = new ColumnSeries();
var yField : String = item.name;
var value : String = item.connections_active;
columnSeries.yField = yField;
columnSeries.displayName = yField + ": " + value;
columnSeries.setStyle("fill",fill[index]);
columnSeries.setStyle("labelPosition","inside");
series[index] = columnSeries;
index ++;
}
}
IdInstancesConnectionChart.series = series;
IdInstancesConnectionChart.validateNow();
........
*Could you pls take a look at it. Any feedback is great helpful.Thanks.*
Grant Ma
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---