You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by "Raj U. Shaikh" <Ra...@mastek.com> on 2014/01/07 08:26:01 UTC

loaderInfo.uncaughtErrorEvents

By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am able to execute a listener function whenever code throws an error from modules.
But, parameter to listener function is ErrorEvent object and not Error object itself, I am not able to get a stacktrace.
What should I need to do in order to get stack trace?

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

RE: loaderInfo.uncaughtErrorEvents

Posted by "Raj U. Shaikh" <Ra...@mastek.com>.
Got answer. It is there in 11.5 onwards


-----Original Message-----
From: Raj U. Shaikh 
Sent: Tuesday, January 07, 2014 2:13 PM
To: users@flex.apache.org
Subject: RE: loaderInfo.uncaughtErrorEvents

You meant fp 11.9 onwards?

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, January 07, 2014 1:54 PM
To: users@flex.apache.org
Subject: Re: loaderInfo.uncaughtErrorEvents

The latest players will have a stack trace.  You might need to set your
swf-version to a higher number to get it.

On 1/7/14 12:07 AM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:

>:) yes and Thanks.
>Is this object/stacktrace will be available on release player as well (I
>believe it isnt there)? If not what will be standard practice to log
>errorr? 
>
>-----Original Message-----
>From: Alex Harui [mailto:aharui@adobe.com]
>Sent: Tuesday, January 07, 2014 1:15 PM
>To: users@flex.apache.org
>Subject: Re: loaderInfo.uncaughtErrorEvents
>
>Isn't the parameter an UncaughtErrorEvent?  It has an error object in the
>event.
>
>On 1/6/14 11:26 PM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:
>
>>By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am
>>able to execute a listener function whenever code throws an error from
>>modules.
>>But, parameter to listener function is ErrorEvent object and not Error
>>object itself, I am not able to get a stacktrace.
>>What should I need to do in order to get stack trace?
>>
>>MASTEK LTD.
>>In the US, we're called MAJESCOMASTEK
>>
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Opinions expressed in this e-mail are those of the individual and not
>>that of Mastek Limited, unless specifically indicated to that effect.
>>Mastek Limited does not accept any responsibility or liability for it.
>>This e-mail and attachments (if any) transmitted with it are confidential
>>and/or privileged and solely for the use of the intended person or entity
>>to which it is addressed. Any review, re-transmission, dissemination or
>>other use of or taking of any action in reliance upon this information by
>>persons or entities other than the intended recipient is prohibited. This
>>e-mail and its attachments have been scanned for the presence of computer
>>viruses. It is the responsibility of the recipient to run the virus check
>>on e-mails and attachments before opening them. If you have received this
>>e-mail in error, kindly delete this e-mail from desktop and server.
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>MASTEK LTD.
>In the US, we're called MAJESCOMASTEK
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Opinions expressed in this e-mail are those of the individual and not
>that of Mastek Limited, unless specifically indicated to that effect.
>Mastek Limited does not accept any responsibility or liability for it.
>This e-mail and attachments (if any) transmitted with it are confidential
>and/or privileged and solely for the use of the intended person or entity
>to which it is addressed. Any review, re-transmission, dissemination or
>other use of or taking of any action in reliance upon this information by
>persons or entities other than the intended recipient is prohibited. This
>e-mail and its attachments have been scanned for the presence of computer
>viruses. It is the responsibility of the recipient to run the virus check
>on e-mails and attachments before opening them. If you have received this
>e-mail in error, kindly delete this e-mail from desktop and server.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


RE: loaderInfo.uncaughtErrorEvents

Posted by "Raj U. Shaikh" <Ra...@mastek.com>.
You meant fp 11.9 onwards?

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, January 07, 2014 1:54 PM
To: users@flex.apache.org
Subject: Re: loaderInfo.uncaughtErrorEvents

The latest players will have a stack trace.  You might need to set your
swf-version to a higher number to get it.

On 1/7/14 12:07 AM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:

>:) yes and Thanks.
>Is this object/stacktrace will be available on release player as well (I
>believe it isnt there)? If not what will be standard practice to log
>errorr? 
>
>-----Original Message-----
>From: Alex Harui [mailto:aharui@adobe.com]
>Sent: Tuesday, January 07, 2014 1:15 PM
>To: users@flex.apache.org
>Subject: Re: loaderInfo.uncaughtErrorEvents
>
>Isn't the parameter an UncaughtErrorEvent?  It has an error object in the
>event.
>
>On 1/6/14 11:26 PM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:
>
>>By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am
>>able to execute a listener function whenever code throws an error from
>>modules.
>>But, parameter to listener function is ErrorEvent object and not Error
>>object itself, I am not able to get a stacktrace.
>>What should I need to do in order to get stack trace?
>>
>>MASTEK LTD.
>>In the US, we're called MAJESCOMASTEK
>>
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Opinions expressed in this e-mail are those of the individual and not
>>that of Mastek Limited, unless specifically indicated to that effect.
>>Mastek Limited does not accept any responsibility or liability for it.
>>This e-mail and attachments (if any) transmitted with it are confidential
>>and/or privileged and solely for the use of the intended person or entity
>>to which it is addressed. Any review, re-transmission, dissemination or
>>other use of or taking of any action in reliance upon this information by
>>persons or entities other than the intended recipient is prohibited. This
>>e-mail and its attachments have been scanned for the presence of computer
>>viruses. It is the responsibility of the recipient to run the virus check
>>on e-mails and attachments before opening them. If you have received this
>>e-mail in error, kindly delete this e-mail from desktop and server.
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>MASTEK LTD.
>In the US, we're called MAJESCOMASTEK
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Opinions expressed in this e-mail are those of the individual and not
>that of Mastek Limited, unless specifically indicated to that effect.
>Mastek Limited does not accept any responsibility or liability for it.
>This e-mail and attachments (if any) transmitted with it are confidential
>and/or privileged and solely for the use of the intended person or entity
>to which it is addressed. Any review, re-transmission, dissemination or
>other use of or taking of any action in reliance upon this information by
>persons or entities other than the intended recipient is prohibited. This
>e-mail and its attachments have been scanned for the presence of computer
>viruses. It is the responsibility of the recipient to run the virus check
>on e-mails and attachments before opening them. If you have received this
>e-mail in error, kindly delete this e-mail from desktop and server.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Re: loaderInfo.uncaughtErrorEvents

Posted by Alex Harui <ah...@adobe.com>.
The latest players will have a stack trace.  You might need to set your
swf-version to a higher number to get it.

On 1/7/14 12:07 AM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:

>:) yes and Thanks.
>Is this object/stacktrace will be available on release player as well (I
>believe it isnt there)? If not what will be standard practice to log
>errorr? 
>
>-----Original Message-----
>From: Alex Harui [mailto:aharui@adobe.com]
>Sent: Tuesday, January 07, 2014 1:15 PM
>To: users@flex.apache.org
>Subject: Re: loaderInfo.uncaughtErrorEvents
>
>Isn't the parameter an UncaughtErrorEvent?  It has an error object in the
>event.
>
>On 1/6/14 11:26 PM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:
>
>>By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am
>>able to execute a listener function whenever code throws an error from
>>modules.
>>But, parameter to listener function is ErrorEvent object and not Error
>>object itself, I am not able to get a stacktrace.
>>What should I need to do in order to get stack trace?
>>
>>MASTEK LTD.
>>In the US, we're called MAJESCOMASTEK
>>
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Opinions expressed in this e-mail are those of the individual and not
>>that of Mastek Limited, unless specifically indicated to that effect.
>>Mastek Limited does not accept any responsibility or liability for it.
>>This e-mail and attachments (if any) transmitted with it are confidential
>>and/or privileged and solely for the use of the intended person or entity
>>to which it is addressed. Any review, re-transmission, dissemination or
>>other use of or taking of any action in reliance upon this information by
>>persons or entities other than the intended recipient is prohibited. This
>>e-mail and its attachments have been scanned for the presence of computer
>>viruses. It is the responsibility of the recipient to run the virus check
>>on e-mails and attachments before opening them. If you have received this
>>e-mail in error, kindly delete this e-mail from desktop and server.
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>MASTEK LTD.
>In the US, we're called MAJESCOMASTEK
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Opinions expressed in this e-mail are those of the individual and not
>that of Mastek Limited, unless specifically indicated to that effect.
>Mastek Limited does not accept any responsibility or liability for it.
>This e-mail and attachments (if any) transmitted with it are confidential
>and/or privileged and solely for the use of the intended person or entity
>to which it is addressed. Any review, re-transmission, dissemination or
>other use of or taking of any action in reliance upon this information by
>persons or entities other than the intended recipient is prohibited. This
>e-mail and its attachments have been scanned for the presence of computer
>viruses. It is the responsibility of the recipient to run the virus check
>on e-mails and attachments before opening them. If you have received this
>e-mail in error, kindly delete this e-mail from desktop and server.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>


RE: loaderInfo.uncaughtErrorEvents

Posted by "Raj U. Shaikh" <Ra...@mastek.com>.
:) yes and Thanks.
Is this object/stacktrace will be available on release player as well (I believe it isnt there)? If not what will be standard practice to log errorr? 

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, January 07, 2014 1:15 PM
To: users@flex.apache.org
Subject: Re: loaderInfo.uncaughtErrorEvents

Isn't the parameter an UncaughtErrorEvent?  It has an error object in the
event.

On 1/6/14 11:26 PM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:

>By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am
>able to execute a listener function whenever code throws an error from
>modules.
>But, parameter to listener function is ErrorEvent object and not Error
>object itself, I am not able to get a stacktrace.
>What should I need to do in order to get stack trace?
>
>MASTEK LTD.
>In the US, we're called MAJESCOMASTEK
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Opinions expressed in this e-mail are those of the individual and not
>that of Mastek Limited, unless specifically indicated to that effect.
>Mastek Limited does not accept any responsibility or liability for it.
>This e-mail and attachments (if any) transmitted with it are confidential
>and/or privileged and solely for the use of the intended person or entity
>to which it is addressed. Any review, re-transmission, dissemination or
>other use of or taking of any action in reliance upon this information by
>persons or entities other than the intended recipient is prohibited. This
>e-mail and its attachments have been scanned for the presence of computer
>viruses. It is the responsibility of the recipient to run the virus check
>on e-mails and attachments before opening them. If you have received this
>e-mail in error, kindly delete this e-mail from desktop and server.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Re: loaderInfo.uncaughtErrorEvents

Posted by Alex Harui <ah...@adobe.com>.
Isn't the parameter an UncaughtErrorEvent?  It has an error object in the
event.

On 1/6/14 11:26 PM, "Raj U. Shaikh" <Ra...@mastek.com> wrote:

>By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am
>able to execute a listener function whenever code throws an error from
>modules.
>But, parameter to listener function is ErrorEvent object and not Error
>object itself, I am not able to get a stacktrace.
>What should I need to do in order to get stack trace?
>
>MASTEK LTD.
>In the US, we're called MAJESCOMASTEK
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Opinions expressed in this e-mail are those of the individual and not
>that of Mastek Limited, unless specifically indicated to that effect.
>Mastek Limited does not accept any responsibility or liability for it.
>This e-mail and attachments (if any) transmitted with it are confidential
>and/or privileged and solely for the use of the intended person or entity
>to which it is addressed. Any review, re-transmission, dissemination or
>other use of or taking of any action in reliance upon this information by
>persons or entities other than the intended recipient is prohibited. This
>e-mail and its attachments have been scanned for the presence of computer
>viruses. It is the responsibility of the recipient to run the virus check
>on e-mails and attachments before opening them. If you have received this
>e-mail in error, kindly delete this e-mail from desktop and server.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~