You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Serkan Taş <se...@likyateknoloji.com> on 2020/02/27 13:34:27 UTC

Uncaught TypeError: cls is not a constructor

What may be te reason for the exception ?








Re: Uncaught TypeError: cls is not a constructor

Posted by Serkan Taş <se...@likyateknoloji.com>.
Alex,

1. I am going to try to find out
2. This is the one only the exception thrown through console.

Thanks,
Serkan

27.02.2020 18:56 tarihinde Alex Harui yazdı:
>
> Two common reasons:
>
>  1. The missing class hasn’t been loaded because this MXML somehow got
>     interpreted earlier than expected (static initializer or something
>     like that)
>  2. The missing class threw an exception while loading.  There will be
>     an exception in the console output before this exception.  In
>     general we don’t want bug reports about exceptions that follow
>     other exceptions.
>
> There might be other scenarios.  It doesn’t have to be one of these two.
>
> -Alex
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, February 27, 2020 at 5:35 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Uncaught TypeError: cls is not a constructor
>
> What may be te reason for the exception ?
>
>
>
>
>
>
>


Re: Uncaught TypeError: cls is not a constructor

Posted by Alex Harui <ah...@adobe.com>.
Two common reasons:


  1.  The missing class hasn’t been loaded because this MXML somehow got interpreted earlier than expected (static initializer or something like that)
  2.  The missing class threw an exception while loading.  There will be an exception in the console output before this exception.  In general we don’t want bug reports about exceptions that follow other exceptions.

There might be other scenarios.  It doesn’t have to be one of these two.

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, February 27, 2020 at 5:35 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Uncaught TypeError: cls is not a constructor

What may be te reason for the exception ?

[cid:image001.png@01D5ED43.60A426E0]


[cid:image002.png@01D5ED43.60A426E0]


[cid:image003.png@01D5ED43.60A426E0]