flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35279) Apache Flex Screen freeze
Date Sat, 04 Mar 2017 05:38:46 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895523#comment-15895523
] 

Alex Harui commented on FLEX-35279:
-----------------------------------

A script timeout means that ActionScript code was running for more than 60 seconds without
stopping to give the Flash Player or AIR time to refresh the screen.  (Yes, the error says
15 seconds even though Flex changes the timeout to 60).  There is no way to make the 60 second
limit any larger.  You have to write your app in a way that no long running loops occur, including
a buffer for folks running on slower and/or busier computers.

In this case, it appears that you have asked to expand all nodes in a hierarchical data structure.
 That is a tree search and for a big tree, could take too long.  Do you always get the same
stack trace starting with expandAll()?

> Apache Flex Screen freeze
> -------------------------
>
>                 Key: FLEX-35279
>                 URL: https://issues.apache.org/jira/browse/FLEX-35279
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Apache Flex 4.15.0
>         Environment: IE, Firefox, and Chrome Browsers
>            Reporter: Scott Capilouto
>            Priority: Critical
>
> We have an application where we are seeing intermittently screen freezes with the following
error. Apache Flex appears to freeze for a minute to a minute and half before resuming.
> Would you happen to know what might be causing this?
> We are able to see this error when running from Firefox in Debug mode:
> Error: Error #1502: A script has executed for longer than the default timeout period
of 15 seconds.
> at mx.controls::AdvancedDataGrid/expandAll()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:5780]
> at mx.controls::AdvancedDataGrid/collectionChangeHandler()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:8232]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.collections::HierarchicalCollectionView/internalRefresh()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as:1272]
> at mx.collections::HierarchicalCollectionView/collectionChangeHandler()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as:1459]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.collections::HierarchicalData/set source()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalData.as:153]
> at mx.binding::Binding/defaultDestFunc()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/Binding.as:305]
> at Function/http://adobe.com/AS3/2006/builtin::call()
> at mx.binding::Binding/innerExecute()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/Binding.as:511]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at mx.binding::Binding/wrapFunctionCall()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/Binding.as:418]
> at mx.binding::Binding/execute()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/Binding.as:356]
> at mx.binding::Binding/watcherFired()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/Binding.as:539]
> at mx.binding::Watcher/notifyListeners()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/Watcher.as:317]
> at mx.binding::PropertyWatcher/eventHandler()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/binding/PropertyWatcher.as:385]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at com.homedepot.mm.sv.esvs.model::SVSModelLocator/dispatchEvent()
> at com.homedepot.mm.sv.esvs.model::SVSModelLocator/set acLocalLineItemData()
> at com.homedepot.mm.sv.esvs.view.order::ProductEntry/refreshLineItemDataGrid()[C:\bkpppp\esvs\MMSVESVSWeb\src\com\homedepot\mm\sv\esvs\view\order\ProductEntry.mxml:6638]
> at com.homedepot.mm.sv.esvs.view.order::OrderMaintenanceWindow/measureServiceViewHideHandler()[C:\bkpppp\esvs\MMSVESVSWeb\src\com\homedepot\mm\sv\esvs\view\order\OrderMaintenanceWindow.mxml:1111]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/core/UIComponent.as:13688]
> at mx.core::UIComponent/setVisible()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/core/UIComponent.as:3301]
> at mx.containers::ViewStack/commitSelectedIndex()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/mx/src/mx/containers/ViewStack.as:1227]
> at mx.containers::ViewStack/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/mx/src/mx/containers/ViewStack.as:767]
> at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/core/UIComponent.as:8751]
> at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
> at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
> at mx.managers::LayoutManager/validateNow()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/managers/LayoutManager.as:886]
> at mx.core::Application/resizeHandler()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/mx/src/mx/core/Application.as:1742]
> at mx.core::Application/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/mx/src/mx/core/Application.as:1095]
> at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/core/UIComponent.as:8751]
> at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
> at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
> at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message