[ https://issues.apache.org/jira/browse/FLEX-22145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-22145. ---------------------------------- Resolution: Won't Fix Flash player issue not Apache Flex issue. See last comment above for work around. > [Flash Player 2500755] The timeout always occurs after 60 sec. whatever the > value of application.scriptTimeLimit, and the timeout exception message > wrongly says the script executed longer than the default timeout period of 15 > seconds > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLEX-22145 > URL: https://issues.apache.org/jira/browse/FLEX-22145 > Project: Apache Flex > Issue Type: Bug > Components: Runtime Shared Libraries > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): Windows > Affected OS(s): Windows XP > Language Found: English > Reporter: Adobe JIRA > Priority: Minor > > Steps to reproduce: > 1. Run testtimeoutlimit.mxml from the attached project in debug mode (such > that it prints debug traces in the console - however the issue also exists in > non-debug mode). > 2. Click on the unique button of the application. > 3. Check the traces in the console. > > Actual Results: > > The console shows the following debug traces: > <<<<<<<<<<<<<<<<<<<<<< > Long computation started... > Got exception after spending 60 seconds. Exception stack trace: > Error: Error #1502: A script has executed for longer than the default timeout > period of 15 seconds. > >>>>>>>>>>>>>>>>>>>>>>> > Expected Results: > > The console should show the following debug traces: > <<<<<<<<<<<<<<<<<<<<<< > Long computation started... > Got exception after spending 10 seconds. Exception stack trace: > Error: Error #1502: A script has executed for longer than the timeout period > of 10 seconds. > >>>>>>>>>>>>>>>>>>>>>>> > Workaround (if any): > Found none. > Additional notes: > There seem to be 2 issues: > 1/ The scriptTimeLimit parameter of the application has no effect on the > actual timeout duration. Changing the value of scriptTimeLimit in the > attached testtimeoutlimit.mxml has no effect on the actual timeout duration, > which seems to be always 60 sec. > 2/ The timeout exception message is misleading. It always says that "the > script has executed for longer than the default timeout period of 15 > seconds.", while in fact the script executes for 60 seconds with or without > application.scriptTimeLimit specified with any duration. > > Explanation of the attached test program: it contains a button which calls a > function which does an infinite loop inside a try/catch. The catch block > prints the exception message and the duration since the beginning of the > execution of the function. > Reproduced on Windows XP, not tested on other platforms. > Reproduced with Flex 4.0 build 10485. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira