Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C41C11A01 for ; Tue, 17 Jun 2014 22:49:05 +0000 (UTC) Received: (qmail 23402 invoked by uid 500); 17 Jun 2014 22:49:05 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 23380 invoked by uid 500); 17 Jun 2014 22:49:05 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 23371 invoked by uid 99); 17 Jun 2014 22:49:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 22:49:05 +0000 Date: Tue, 17 Jun 2014 22:49:05 +0000 (UTC) From: "Alex Harui (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (FLEX-34284) Issue with the FABridge#callASMethod method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Harui closed FLEX-34284. ----------------------------- Resolution: Incomplete No recent activity. > 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 : > > 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; > } > }, > > 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)