sachin chavan created FLEX-34284:
------------------------------------

             Summary: Issue with the FABridge#callASMethod method
                 Key: FLEX-34284
                 URL: https://issues.apache.org/jira/browse/FLEX-34284
             Project: Apache Flex
          Issue Type: Bug
          Components: FABridge
            Reporter: sachin chavan


Hello ,

I our application we are using the FABridge.js file do display the hierarchical 
topology data. While I reload the data, the following method from the 
FABridge.js files gets called :
<snip>
callASMethod: function(objID, funcName, args)
    {

        if (FABridge.refCount > 0)

        {

            throw new Error("You are trying to call recursively into the Flash 
Player which is not allowed. In most cases the JavaScript setTimeout function, 
can be used as a workaround.");

        }

        else

        {

            FABridge.refCount++;

            args = this.serialize(args);

            retVal = this.target.invokeASMethod(objID, funcName, args);

            retVal = this.handleError(retVal);

            FABridge.refCount--;

            return retVal;

        }

    },
</snip>


The issues is that, the "retVal = this.target.invokeASMethod(objID, funcName, 
args);" executed with exception and hence the refCount will not be reset to 0. 
hence , when next time this method gets called the error "throw new Error("You 
are trying to call recursively into the Flash Player which is not allowed. In 
most cases the JavaScript setTimeout function, can be used as a workaround.");" 
is thrown.

 What I need from this forum is :
1. How can get the exception stact trace in IE 9 so that I can verfiy that why 
this.target.invokeASMethod(objID, funcName, args); the statement failed.
2. What is the meaning of this statement "this.target.invokeASMethod(" ? Does 
it similar to reflection technique we have in java.

Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to