Script timeouts (Error #1502) and WebService component

Hello Flex community,
I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB).
The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interface therefore it is not a back-end SharePoint issue.
I believe the issue has to do with the logic in the WebService Flex component, however I am not sure how to optimize it and I cannot break down the file into smaller chunks as it needs to be together in order to upload with the SharePoint field information.
Anyone have any ideas on how I can resolve this issue?
Thanks,
Mauricio

I can't say exactly what is big binding because it depends on combination of factors: how fast your machine is, how big the Excel model is, how many components you have etc. Generally if you have bindings with several thousand cells it's going to cause the timeout problem. The problem is that we use Flash player in the application, and if some operation takes longer than a minute it times out. So, if getting data from the big bindings took too long, the flash player stops the operation and you have this timeout error.
You see the timeout error only if you have debug version of Flash player installed. If you have release version installed, you don't see any erors, but you notice strange things, for example selecting component on the canvas does not cause property sheet to display. Release version of Flash is faster, so you can try to remove debug flash player and install release and there is chance that it will work.
FP1 version is going to include some optimisations to reduce this problem and allow working with larger files.
Margaret

Similar Messages

  • Script Timeout error in classic ASP

    Hi ,
    In classic asp , i am using Stored procedure to fetch the result from oracle database . my database have 85Lakhs records . approx. 30 records are being inserted into the table. at the same time some users trying to fetch the data from same table.now i am getting script timeout error after long wait .it was an intermittent issue (sometimes it is working and sometimes it is not working). i thought it was because of performance issue with stored procedures . but in oracle Readers cannot block writers and Writers cannot block readers.so no issues with database side.i couldn't replicate the issue . i am wondering what will be the rootcause for this issue. is there anything i need to modify with the script side.by increasing the timeout property is the only solution?i tried to modify the timeout property to 180 seconds in classic asp page. please give your valuable suggestion.
    Thanks.
    Regards,
    Boss

    Hi,
    This error is thrown by the Flash Player when a script takes more than 15 seconds to execute i.e. if your script executes continously for 15 seconds with out letting the Flash Player render the UI, this error is dispatched. Probably the data returned is pretty huge, try splitting the data or use pseudo threading as explained in the URL below.
    http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html
    http://www.actionscript.org/forums/showthread.php3?t=185320
    Hope this helps.

  • Longer TestStand scripts generate errors 1073807300 and 1073807343

    When running longer scripts in TestStand 2.0, errors 1073807300 and 1073807343 are generated after about 30 minutes of running. This is on a Windows 2000 machine with 1GB RAM. This happened about a year ago, and splitting the scripts worked. Now we have added more VXI cards to the system, and the problem has re-occurred with some of the split scripts and others that worked fine before.

    Hello Ron,
    I would suggest looking at another similar discussion forum posting. It provides useful links to documents discussing this type of error.
    http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RNAME=ViewQuestion&HOID=506500000008000000​1D840000&ECategory=TestStand
    I hope that you find these helpful. If you are still encountering problems, please provide more information about your system (ie: what hardware you are using, what process model you are using, how many different devices are operating at a single time, etc).
    Regards,
    Aaron B.

  • Read timeout error when invoking webservice

    When I test one of our RPC style webservices from my Java
    client, I get this error at random intervals :
    org.xml.sax.SAXParseException: Unbalanced ELEMENT got:detail expected:init at
    weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXElementFactory.java:67)
    at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:136)
    at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.java:46)
    at weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48) at weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.java:38)
    at weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48) at weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.java:38)
    at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at weblogicx.xml.stream.helpers.TextBuilder.process(TextBuilder.java:23) at weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:194)
    at weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:145) at
    weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:66) at weblogic.soap.codec.Operation.read(Operation.java:97)
    at weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200) at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:480) at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    it seems to be caused by a read time out :
    Server side error: java.io.InterruptedIOException:
    Read timed out at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124) at
    weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
    at java.io.FilterInputStream.read(FilterInputStream.java:114) at java.io.PushbackInputStream.read(PushbackInputStream.java:164)
    at java.io.FilterInputStream.read(FilterInputStream.java:93) at weblogic.xml.babel.reader.XmlReader.(XmlReader.java:247)
    at weblogic.xml.babel.reader.XmlReader.createReader(XmlReader.java:124) at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:98)
    at weblogic.xml.babel.parsers.StreamParser.(StreamParser.java:42) at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXMLEventStream.java:28)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.getXMLStream(StatelessBeanAdapter.java:216)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.getInputMessage(StatelessBeanAdapter.java:151)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.doPost(StatelessBeanAdapter.java:113)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Does anybody have som hints for this situation?
    Regards,
    Per Mengshoel

    Hi all,
    as many developers I have encountered the famous "java.rmi.MarshallException:(1)Missing end tag for Body or Envelope" during the development of my WS app for J2ME (JSR 172).
    It is correct that is the empty tag <soapenv:Header /> causing this error.
    To fix this error, it is necessary to stop the server to generate this empty header in the response stream.
    I have fixed this error for Axis2: unfortunaly it is necessary to modify a class in Axiom library. This library is used in Axis2 to produce the SOAP response, you can download the source code at http://ws.apache.org/commons/axiom/source-repository.html.
    Here the class to modify:
    axiom\modules\axiom-impl\src\main\java\org\apache\axiom\soap\impl\llom\soap11\SOAP11Factory.java
    by commenting the line 273 in the method called getDefaultEnvelope() to prevent the empty header insertion in SOAP response:
    public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
            OMNamespace ns =
                    new OMNamespaceImpl(
                            SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
                            SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
            SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns, this);
            //createSOAPHeader(env); the line to be commented
            createSOAPBody(env);
            return env;
        }Finally you have to recompile Axiom using Maven to obtain the fixed package axiom-impl.jar and to replace this package on the lib repository of your Axis2 server.
    A little tricky to fix this bug but now my app runs perfectly ;)
    Enjoy!
    Romain Pellerin
    http://www.gasp-mobilegaming.org

  • Very Strange #1503 Script Timeout Error...

    So I created an as3 flash 9 app under Windows using cs3.
    Worked great ... until I tested it on Mac. It crashes both safari
    and firefox only on macs.
    I decided to load it up in cs3 on Mac. I received some errors
    about the fonts not being available, so I changed them to default
    _sans or whatever and thought I had solved my problem. I tried
    "Test Movie" and got the following:
    Error: Error #1503: A script failed to exit after 30 seconds
    and was terminated.
    at flash.errors::ScriptTimeoutError$iinit()
    at flash.display::MovieClip$iinit()
    The weird thing was that it wasn't even running 1 second when
    this was output.
    It gets better though, I delete all the actionscript, and
    every layer (added a blank layer) in the movie, and all the assets
    and I STILL GET THIS ERROR!
    Whats going on? I'd rather I didn't have to recreate all the
    layers and copy over the actionscript to a new movie .... maybe
    there is a setting somewhere? Maybe its related to the font
    problem? This is my first flash movie and I'm not sure where to
    look at this point, google didn't help at all...
    Thanks in advance!

    Thanks OMW_Support. That was real neat support. Thanks, it worked!
    Essentially, OMW gives an error if you try to install it into 7.3.4 home, so I had actually installed it into a different home. But while running the startOMW script, as you pointed out the ORACLE_HOME variable was set to 7.3.4; changed it to the second ORACLE_HOME and it worked.
    Kind regards
    Manu
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Migration Workbench Support:
    If you are not running Oracle 8.1.7, then you need to install Oracle Migration Workbench 1.3.0.0.1 into a separate Oracle Home.
    The installer will install the required 8.1.7. client libraries and you can then use it to migrate to an Oracle8 or Oracle8i database. The key issue here is that when the Installer asks you to select or enter an Oracle Home, that you enter a new Oracle Home. (If you already had 8.1.7, then you'd have been able to install into an existing 8.1.7 Oracle Home. However, because you are not, then you need to install into a separate Oracle Home).
    ORACLE_HOME needs to point to this new Oracle Home when starting the Migration Workbench. Your log shows that it is pointing to an Oracle 7.3 home, which is incorrect.
    Please note that the Migration Workbench only supports migrations to Oracle8 and Oracle8i.<HR></BLOCKQUOTE>
    null

  • Google maps causes firefox to crash, I get script stop error message and every window freezes and then crashes

    Hi, I use Google maps a lot everyday, and ever since this new firefox update and the new google update it cause firefox to crash. So I basically the the stop script message after window lags and doesnt load, and then it just shows me on all the firefox windows that are open "not responding". Basically I cant do any anything after that except end task everything or firefox just closes by it self. Please help out

    unfortunately those sites don't help me. Here is a message I get, it only happens when I'm using Google maps in Firefox.
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/399b/maps2/%7Bmain,mod_util,mod_act,mod_act_s,mod_actbr,mod_appiw,mod_lt_j,mod_mssvt,mod_rst,mod_strr%7D.js:903

  • Referenced and Referencing Component Usages Must Address the Same Component

    Hi,
    I have a main component MC and it has two used componenents - IBLC and IVAC (interfaces for model and visual compoenents).
    I get the actual model component name from a table and I instantiate it as follows:
    instantiate model component
    DATA: l_ref_model_usage TYPE REF TO if_wd_component_usage,
    l_my_initial_usage type ref to IF_WD_COMPONENT_USAGE.
    L_MY_INITIAL_USAGE = wd_this->wd_cpuse_iblc( ).
    l_ref_model_usage = L_MY_INITIAL_USAGE->CREATE_COMP_USAGE_OF_SAME_TYPE(
    NAME = Item_Modelcomp ).
    Components VC1 and VC2 etc implement IVAC.
    Since I want to use the same instance of Item_Modelcomp in VC1 and VC2, I use the set_model(and from that I call method enter_referencing_mode) method as follows in MC.
    l_ref_interfacecontroller->set_model( model_usage = l_ref_model_usage ).
    Now in set_model method in VC1, I am using Item_Modelcomp as used component and not IBLC because I want to use the Item_Modelcomp context, but it expects IBLC as the used component(even though Item_Modelcomp implements IBLC) and hence gives the error "Referenced and Referencing Component Usages Must Address the Same Component".
    Any solution for this issue?
    Thanks and Regards,
    Srini.

    Hi Srinivasa,
    >I thought model compoenents are the ideal way to share
    >context across different visual components.
    Yeah, we though the same in the beginning. Later on we learned that:
      - it's not worth having the overhead of another WD component in most cases since you need to call the business logic nonetheless
      - declaring nodes as public is like having public attributes at a class - which can be really bad thing
      - there are lots of side effects regarding one component affecting the other one indirectly by having both mapped to the same model component
    In general, using model components should be avoided. There might be rare cases, where it makes sense to use them, but mostly it's not worth the effort.
    Best regards,
    Thomas

  • Error 1502: A script has executed for longer than the default timeout period of X seconds.

    Hi,
    I have a swf that i can´t change (i don´t own the code and it´s copyrighted). In some cases, I´m getting error 1502, after 30 seconds executing the file.
    Is there a way to change or disable the default timeout period? Remember that i can´t edit the .fla...
    Thanks in advance!

    you can load that swf into another swf and adjust the timeout duration in the main swf.

  • Shell Script: Timeout and return error if Sqlplus hangs

    Shell Script: Timeout and return error if Sqlplus hangs
    Dear all,
    This morning, our production database hung with lots of ORA-600 and 7445. The issue has been escalated to Oracle Tech support but my monitoring script which tries to make a connection every 5 mins to the database to see if its up, did not alert me. The reason is that, it connected to the database and hung, never came out to report an error and so I never got alerted until a user called me.
    Can any one tell me how I can exit from the sqlplus block if I dont get a response in x seconds? This sqlplus block is being called with in a shell script.
    Any help is highly apprciated.

    I don't know of anything built into any shell scripting language that would do this, no. I'm not a Perl programmer, but I have a vague recollection that Perl may have something useful here.
    From the "separate thread" part of my comment, though, you could certainly spawn a separate thread (thread 2), have thread 2 wait a period of time, then look for a message from thread 1 and throw an error if the message hadn't been sent. I don't know that I'd be for writing multi-threaded shell scripts, though. The heartbeat also gives you a layer of redundancy so that something is monitoring the monitor in case that process stops working.
    Justin

  • Webservice Connection Timeout Error in Sun Java System Application server

    I have a java code to connect to Ebay Shopping Webservice that uses the client stub generated through Axis. The code works fine when I run it from the main method of a stand alone Java application. Which means there is no issue with the Proxy settings or any other network setting that could block the webservice from my system. However when I use the same code inside a JSF based Web Application, a connection timeout error comes up. The Web application is deployed on the Sun Java System Application server. The stacktrace of the exception is
    java.net.ConnectException: Connection timed out: no further information
         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:527)
         at com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:206)
         at java.net.Socket.connect(Socket.java:520)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
         at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:125)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.ebay.api.soap.ShoppingBindingStub.findProducts(ShoppingBindingStub.java:1217)
         at com.shopping.ebay.EbayServiceUtility.performEBaySearch(EbayServiceUtility.java:66)
         at searchProduct.SearchProductBean.search(SearchProductBean.java:98)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:96)
         at javax.faces.component.UICommand.broadcast(UICommand.java:383)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:450)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:759)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    The JDK version on my machine is 1.5.0_14. Can somebody point me as where I should be looking for errors?

    You need to delete all the files under the 'generated' directory to force the server to recompile them after the JDK upgrade. Also check in domain.xml and make sure the JVM parameter is pointing to the JDK that you have installed. It is also worthwhile to check asenv.conf to see which JDK that file is pointing to as well.

  • How to change script time limits in FlashBuilder 4/ error #1502

    Hy guys i have a seriusly problem, and i hope that any one to help me.
    I'm a developer GIS, and i develop a Web Mapping Application with FlexViewer ArcGIS. I have a widget that call a model that i published in REST. When i run the widget i have error #1502. I know that i change the timeout of my script, but i don't no what i do.
    In my flex compiler i have this:
    -locale en_US -source-path=locale/{locale} -keep-all-type-selectors=true
    How to change the default script time limits to 60s or higher.
    Please say me what i do
    help
    thanks

    Maybe try a binding to alter the value.
    <fx:script>
       public var nTab4OpenedX:int = 100;
       //Function to change the tab4 opened X value.
       public function ChangeX():void
          //Change the value to 500.
          this.nTab4OpenedX = 500;
    </fx:script>
    <s:SkinnableContainer id="tab4" x.tab4opened="" x="0"

  • Advanced Data Grid and Beta 3 Error:1502

    hi,
    When i upgraded from beta 2 to beta 3 .I get a error as
    follow:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at mx.managers::CursorManager$/getInstance()
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2312]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at
    mx.controls::AdvancedDataGridBaseEx/mx.controls:AdvancedDataGridBaseEx::columnResizeMouse OverHandler()
    [C:\Work\flex\dmv_automation\projects\datavisualisation\src;mx\controls;AdvancedDataGridBa seEx.as:5970]
    at [mouseEvent]
    and my application hangs.Thanks in advance for all the
    help....

    hi Srinivas,
    Acually whenever i roll over the mouse on the column headers
    of the Advanced Data Grid it hangs and throw this error.i am
    getting a grouped data from data base and using the group
    collection as data provider which has source property bound to
    ArrayCollection.The problem comes only whenever we take the mouse
    over the column headers it throws this error and hangs.
    <mx:AdvancedDataGrid id="adg1" width="100%" height="100%"
    wordWrap="true" >
    <mx:dataProvider>
    <mx:GroupingCollection id="gc" source="{this.ABC}"
    ><!--ABC is ArrayCollection-->
    <mx:Grouping>
    <mx:GroupingField name="GroupingField"/>
    </mx:Grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="Field1"
    headerText="Field1" />
    <mx:AdvancedDataGridColumn dataField="Field2"
    headerText="Field2" sortable="true" />
    <mx:AdvancedDataGridColumn dataField="Field3"
    headerText="Field3" />
    </mx:columns>
    </mx:AdvancedDataGrid>
    If move the mouse over the column headers the error is thrown
    and the application hangs and the same code works fine with the
    beta 2.
    Thanks....

  • Error #1502: timeout period of 15 seconds. not a long calculation

    Hi guys,
    I got a strange problem of Error #1502. I don't do a long calculation. i tried to debug step by step, but can not find any possible cause yet.
    I took three stack traces:
    y::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel2,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel2.PanelSkin880. _PanelSkin_Group1.contents.contentGroup.VGroup888.DisabledGroup890,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel2.PanelSkin880. _PanelSkin_Group1.contents.contentGroup.VGroup888.DisabledGroup890._MenusView_MenuCategory Component1,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel3,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel3.PanelSkin980. _PanelSkin_Group1.contents.contentGroup.VGroup988.DisabledGroup990,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel3.PanelSkin980. _PanelSkin_Group1.contents.contentGroup.VGroup988.DisabledGroup990._MenusView_RegularMenuI temComponent1,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView206.TitleWindowSkin207._TitleWindowSkin_Group1.contents.contentGroup.HGroup 216.viewport.viewStack.NavigatorContent235.SkinnableContainerSkin236.contentGroup.VPanel69 5.PanelSkin696._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt707.SkinnableContainerSkin708.contentGroup.MenusView719._MenusView_VPanel3.PanelSkin980. _PanelSkin_Group1.contents.contentGroup.VGroup988.DisabledGroup990._MenusView_RegularMenuI temComponent1.FormItem1033._RegularMenuItemComponent_HGroup2.HGroup1036.menuItemProperties ,
    name: null } )
    Error: Error #1502: A script has executed for longer than the default
    timeout period of 15 seconds.
             at org.swizframework.core::BeanFactory/isPotentialInjectionTarget()[/
    projects/swiz-framework/src/org/swizframework/core/BeanFactory.as:434]
             at org.swizframework.core::BeanFactory/setUpEventHandler()[/projects/
    swiz-framework/src/org/swizframework/core/BeanFactory.as:456]
             at org.swizframework.core::BeanFactory/setUpEventHandlerSysMgr()[/
    projects/swiz-framework/src/org/swizframework/core/BeanFactory.as:486]
             at flash.display::DisplayObjectContainer/addChildAt()
             at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::
    $addChildAt()
             at mx.core::UIComponent/addChildAt()
             at flashx.textLayout.container::ContainerController/addTextLine()
             at flashx.textLayout.container::ContainerController/http://
    ns.adobe.com/textLayout/internal/2008::updateCompositionShapes()
             at flashx.textLayout.compose::StandardFlowComposer/
    updateCompositionShapes()
             at flashx.textLayout.compose::StandardFlowComposer/
    updateToController()
             at flashx.textLayout.compose::StandardFlowComposer/
    updateAllControllers()
             at flashx.textLayout.container::TextContainerManager/
    updateContainer()
             at spark.components::RichEditableText/updateDisplayList()
             at mx.core::UIComponent/validateDisplayList()
             at mx.managers::LayoutManager/validateClient()
             at mx.core::UIComponent/validateNow()
             at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/
    internal::validateBaselinePosition()
             at spark.components.supportClasses::SkinnableComponent/
    getBaselinePositionForPart()
             at spark.components.supportClasses::SkinnableTextBase/get
    baselinePosition()
             at mx.containers::FormItem/updateDisplayList()
             at mx.core::UIComponent/validateDisplayList()
             at mx.core::Container/validateDisplayList()
             at mx.managers::LayoutManager/validateDisplayList()
             at mx.managers::LayoutManager/doPhasedInstantiation()
             at mx.managers::LayoutManager/doPhasedInstantiationCallback()
            BeanFactory::setUpBean( Bean{ source:
    RestaurantView203.TitleWindowSkin204._TitleWindowSkin_Group1.contents.conte
    ntGroup.HGroup213.viewport.viewStack.NavigatorContent232.SkinnableContainerSkin233.content Group.VPanel692.PanelSkin693._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack. NavigatorContent704.SkinnableContainerSkin705.contentGroup.MenusView716._MenusView_VPanel3 ,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView203.TitleWindowSkin204._TitleWindowSkin_Group1.contents.contentGroup.HGroup 213.viewport.viewStack.NavigatorContent232.SkinnableContainerSkin233.contentGroup.VPanel69 2.PanelSkin693._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt704.SkinnableContainerSkin705.contentGroup.MenusView716._MenusView_VPanel3.PanelSkin977. _PanelSkin_Group1.contents.contentGroup.VGroup985.DisabledGroup987,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView203.TitleWindowSkin204._TitleWindowSkin_Group1.contents.contentGroup.HGroup 213.viewport.viewStack.NavigatorContent232.SkinnableContainerSkin233.contentGroup.VPanel69 2.PanelSkin693._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt704.SkinnableContainerSkin705.contentGroup.MenusView716._MenusView_VPanel3.PanelSkin977. _PanelSkin_Group1.contents.contentGroup.VGroup985.DisabledGroup987._MenusView_RegularMenuI temComponent1,
    name: null } )
    BeanFactory::setUpBean( Bean{ source:
    RestaurantView203.TitleWindowSkin204._TitleWindowSkin_Group1.contents.contentGroup.HGroup 213.viewport.viewStack.NavigatorContent232.SkinnableContainerSkin233.contentGroup.VPanel69 2.PanelSkin693._PanelSkin_Group1.contents.contentGroup.menuDetailsViewStack.NavigatorConte nt704.SkinnableContainerSkin705.contentGroup.MenusView716._MenusView_VPanel3.PanelSkin977. _PanelSkin_Group1.contents.contentGroup.VGroup985.DisabledGroup987._MenusView_RegularMenuI temComponent1.FormItem1030._RegularMenuItemComponent_HGroup2.HGroup1033.menuItemProperties ,
    name: null } )
    Error: Error #1502: A script has executed for longer than the default
    timeout period of 15 seconds.
             at flashx.textLayout.compose::BaseCompose/fitLineToParcel()
             at flashx.textLayout.compose::ComposeState/composeNextLine()
             at flashx.textLayout.compose::BaseCompose/
    composeParagraphElementIntoLines()
             at flashx.textLayout.compose::ComposeState/composeParagraphElement()
             at flashx.textLayout.compose::BaseCompose/composeBlockElement()
             at flashx.textLayout.compose::BaseCompose/composeInternal()
             at flashx.textLayout.compose::ComposeState/composeInternal()
             at flashx.textLayout.compose::BaseCompose/composeTextFlow()
             at flashx.textLayout.compose::ComposeState/composeTextFlow()
             at flashx.textLayout.compose::StandardFlowComposer/http://
    ns.adobe.com/textLayout/internal/2008::callTheComposer()
             at flashx.textLayout.compose::StandardFlowComposer/internalCompose()
             at flashx.textLayout.compose::StandardFlowComposer/compose()
             at flashx.textLayout.container::TextContainerManager/compose()
             at flashx.textLayout.container::TextContainerManager/
    updateContainer()
             at spark.components::RichEditableText/updateDisplayList()
             at mx.core::UIComponent/validateDisplayList()
             at mx.managers::LayoutManager/validateClient()
             at mx.core::UIComponent/validateNow()
             at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/
    internal::validateBaselinePosition()
             at spark.components.supportClasses::SkinnableComponent/
    getBaselinePositionForPart()
             at spark.components.supportClasses::SkinnableTextBase/get
    baselinePosition()
             at mx.containers::FormItem/updateDisplayList()
             at mx.core::UIComponent/validateDisplayList()
             at mx.core::Container/validateDisplayList()
             at mx.managers::LayoutManager/validateDisplayList()
             at mx.managers::LayoutManager/doPhasedInstantiation()
             at mx.managers::LayoutManager/doPhasedInstantiationCallback()
    Error: Error #1502: A script has executed for longer than the default
    timeout period of 15 seconds.
             at mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()
             at mx.managers::LayoutManager/validateClient()
             at mx.core::UIComponent/validateNow()
             at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/
    internal::validateBaselinePosition()
             at spark.components.supportClasses::SkinnableComponent/
    getBaselinePositionForPart()
             at spark.components.supportClasses::SkinnableTextBase/get
    baselinePosition()
             at mx.containers::FormItem/updateDisplayList()
             at mx.core::UIComponent/validateDisplayList()
             at mx.core::Container/validateDisplayList()
             at mx.managers::LayoutManager/validateDisplayList()
             at mx.managers::LayoutManager/doPhasedInstantiation()
             at mx.managers::LayoutManager/doPhasedInstantiationCallback()
             BeanFactory::setUpBean( Bean{ source:
    RestaurantView205.TitleWindowSkin206._TitleWindowSkin_Group1.contents.conte
    Any idea of how to solve the problem or how to find out the cause will be highly appreciated. My Flash builder profiler is not working today, that might help.
    Many thanks,
    Cheng Wei

    Thanks for your prompt reply.
    No, i am not. It is hard to create a simple demo here, but i can recreate it with my application. It is being very strange, it only happens to one MenuCategory(a concept from our application). I don't think screenshot will help here, but i will do some here. Is it possible to request a remote assistance(e.g. via TeamViewer, coming from java background, i sometimes find flex is hard to find out the cause of a problem)?
    1.good category
    The only bad category found so far, stuck when clicking on second category - Kids choice. Kids choice only has 4 menu items.
    Could be an application problem, but from the stack trace, i don't have an idea, where the problem is from yet.
    Your help is highly appreciated.
    Cheers,
    Cheng Wei

  • Why is my startup script getting a timeout error in FrameMaker?

    Using FM 11
    ExtendScript
    Windows 7
    I'm running an ExtendScript from the FM Startup directory, by starting FM from a batch file. The Extendscript opens multiple book files (one at a time) and does a save as pdf for each one. FrameMaker terminates the script with a timeout error at random points in the script after only one or two saves. The Extendscript runs fine when I run it from the FM Scripting window. It only times out when I run it as a startup script. Is there some workaround for this? Sadly, I find no documentation about this.

    Thanks, Rick. Here is the body of the Extendscript that is in the FM Startup directory. The batch file starts FM and then this script gets kicked off.
    main();
    function main() {
        log("Starting the script.");
        var controlFile = File("G:\\fmToPdf\\fmToPdf.control");
        var controlContent = null;
        if(controlFile.exists === true) {
            // Open the file.
            controlFile.open("r"); // r means read only.
            // Read the file contents into a variable.
            controlContent = controlFile.read();
            // Close the file.
            controlFile.close();
        var bookRegEx = /^book="(.*)"/;
        var targetRegEx = /^target="(.*)"/;
        var pathRegEx = /([^\\]+)$/;
        var lines = controlContent.split("\n");
        for (i = 0; i < lines.length; i++) {
            var line = lines[i];
            if (bookRegEx.test(line) === true) {
                var result = line.match(bookRegEx);
                var inBook = result[1];
                var pathComponents = pathRegEx.exec(inBook);
                var fileName = pathComponents[1].replace("book", "pdf");
                for (i = i + 1; i < lines.length; i++) {
                    line = lines[i];
                    if (targetRegEx.test(line)===true) {
                        result = line.match(targetRegEx);
                        var outBook = result[1] + fileName;
                        log("Starting to generate: " + outBook);
                        fileId = openBook(inBook);
                        saveBook(fileId,outBook);
                        closeBook(fileId);
                        log("Finished with: " + outBook);
                    } else {
                        break;
        // close FrameMaker
        Constants.FF_CLOSE_MODIFIED = 1;
        app.Close (Constants.FF_CLOSE_MODIFIED);
        log("We're done.");
        return;   
    function openBook(filename)
        var openProp = GetOpenDefaultParams();
        var retParm = new PropVals();
        var BookOpen=Open(filename,openProp,retParm);
        return BookOpen
    // save as pdf
    function saveBook(file, pdfName)
        var saveProp = GetSaveDefaultParams();
        var i = GetPropIndex(saveProp, Constants.FS_FileType);
        saveProp[i].propVal.ival = Constants.FV_SaveFmtPdf;
        //i = GetPropIndex (saveProp, Constants.FS_DontNotifyAPIClients)
        //saveProp[i].propVal.ival = true;
        var retParmspdf = new PropVals();
        // pdf settings
        file.PDFBookmark = true;
        file.PDFBookmarksOpenLevel = Constants.FV_PDFBookmarksOpenDefaultLevel;
        file.PDFConvertCMYKtoRGB = true;
        file.PDFDistillerAbsent = 0;
        file.PDFJobOption = "High Quality Print";
        file.PDFSeparateFiles = false;
        file.DocIsViewOnly = 1;
        file.Save(pdfName, saveProp, retParmspdf);
        return
    // close file
    function closeBook(filename)
        filename.Close (Constants.FF_CLOSE_MODIFIED);
    function log(message, reset)
        var logfile = File("G:\\fmToPdf\\fmToPdf.log");
        var openMode = (reset === undefined) ? "a" : "w";
        logfile.open(openMode);
        logfile.writeln(getTimeStamp() + " " + message);
        logfile.close();
    function getTimeStamp(){
        var d = new Date();
        var timestamp = d.getFullYear() + "." +
                        zeroFill ((d.getMonth() + 1), 2) + "." +
                        zeroFill (d.getDate(), 2) + " " +
                        zeroFill (d.getHours(), 2) + ":" +
                        zeroFill (d.getMinutes(), 2) + ":" +
                        zeroFill (d.getSeconds(), 2);
        return timestamp;
    function zeroFill( number, width )
      width -= number.toString().length;
      if ( width > 0 )
        return new Array( width + (/\./.test( number ) ? 2 : 1) ).join( '0' ) + number;
      return number + ""; // always return a string

  • Shell Script Resource-Timeout error

    Hi!!
    I have an issue with the Shell Script Resource, the problem is as follows:
    When I created a user in this resource and appears a error message:
    com.waveset.util.WavesetException: An error occurred adding user 'user01' to resource 'Shell Script'. com.waveset.util.WavesetException: Script failed waiting for "_,)#+(:" in response "" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "".
    I added the timeout property = 300 000 in my shell script is as follows:
    <ResTypeAction restype='Shell Script' timeout='300000'>
    but it doesn't work.
    I had the IDM 8 with the patch 4 but the problem beging when I did upgrade to patch 4 to 6.
    Does anyone knows what could be the problem.
    Thanks in advance!

    Hello!
    That isn't the problem the test connection works fine but when I try provisioning a user the shell script execute some instructions, in the shell script I need to set the timeout property in order to give more time to finish execute the instructions before the script execute the following command.
    I tested the timeout property in the shell script and work to fine for IDM 8 patch 4 I upgrade to patch 10 and stopped to work.
    Does anyone knows What could be the rigth way to set the timeout property in a resource action for shell script resource?
    Thanks...

Maybe you are looking for

  • How do I set an external HD permission to read AND write?

    I received an iMac for Christmas and need a little help.  I have a 2TB external HD that contains .shn and .flac files of GD concerts (and other music).  I managed to find Cog that will play them...but what I want to do is download them and move them

  • Is there a way to play flv & mkv file formats through media element in windows 8.1 app ?

    i am trying to develop a video player so i just thought Is there a way to play flv & mkv file formats through media element in windows 8.1 app ? , coz when i tried media element it is supporting only mp4 & avi formats.

  • My Dream is to work for Apple.

    I am in my first year BCA (Bachlore in Computer Application), this course is only available in India, which is only related to Software. I know this has no value in US, so I am goin to do my Post Graduation, with MCA (Masters), along with all this i

  • Calls can only be heard on speaker or through headset

    Since I performed the last software up date a couple of days ago I can only hear calls through the speaker or through the plugged in headset.  I've tried resetting but the problem persists. Any suggestions? 

  • Add drop shadow to vector map

    Hi, I have troubles in adding a drop shadow to a vectorized map (in *.ai format). All countries are separated by a white thin line, so that it is possible to highlight a certain country of interest in another colour. When these countries have been se