flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sachin chavan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34284) Issue with the FABridge#callASMethod method
Date Wed, 30 Apr 2014 05:26:17 GMT

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

sachin chavan commented on FLEX-34284:
--------------------------------------

Please , could someone reply to it ?

> 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)

Mime
View raw message