You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/04/23 07:57:46 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

pashminakazi opened a new issue #813:
URL: https://github.com/apache/royale-asjs/issues/813


   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Inventory from Select in Menu
   Go to PSSM -> Facility from Setups in Menu
   File : com/dbz/modules/Common/dbzFacilityMaster.mxml
   
   when open this setup exception occurs
   ![image](https://user-images.githubusercontent.com/42200979/80073856-d29c4500-8561-11ea-9d98-f654a19eb4ca.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #813:
URL: https://github.com/apache/royale-asjs/issues/813#issuecomment-619306403


   data is one of the parameters and other variables are accessing the array so you can tell how far into the array the code is looking.  Then see what is in the array (probably a null) but the rest of the array before and after should give you clues as to what component it was looking for.  There will be "id" properties that help.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #813:
URL: https://github.com/apache/royale-asjs/issues/813#issuecomment-619419513


   ```com.dbz.modules.components.ImageButton extends mx.controls.Image``` and is in a SWC.
   It is referenced from MXML via ```xmlns:components="com.dbz.modules.components.*"```
   But no goog.requires for it in the MXML output so it isn't loaded.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #813:
URL: https://github.com/apache/royale-asjs/issues/813#issuecomment-619112314


   Examine the data array at the point of failure to determine which component should have been created there.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi commented on issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #813:
URL: https://github.com/apache/royale-asjs/issues/813#issuecomment-718515716


   @Embed source should be removed


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi closed issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
pashminakazi closed issue #813:
URL: https://github.com/apache/royale-asjs/issues/813


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #813:
URL: https://github.com/apache/royale-asjs/issues/813#issuecomment-619444539


   It is successfully compiled into many other modules.  I can't reproduce it in a simple test case.  Try adding a hidden ImageButton to dbzFacilityMaster as a workaround.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi commented on issue #813: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:126)

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #813:
URL: https://github.com/apache/royale-asjs/issues/813#issuecomment-619167014


   I dont know how to do this
   
   On Fri, Apr 24, 2020, 9:23 PM aharui <no...@github.com> wrote:
   
   > Examine the data array at the point of failure to determine which
   > component should have been created there.
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/royale-asjs/issues/813#issuecomment-619112314>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AKB67E4JPELUTSJPQXNADHLROG4JTANCNFSM4MO2TI5Q>
   > .
   >
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org