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/07/23 08:45:43 UTC

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

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


   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to General Ledger from Select in Menu
   Go to GL Tab from Menu
   Go to Enter Voucher from GL in Menu
   File : com/dbz/modules/GL/dbzJournalVoucher.mxml
   
   Open this Document and this exception occurs : 
   ![image](https://user-images.githubusercontent.com/42200979/88267388-36ade100-ccea-11ea-9bd1-e8ce4524be64.png)
   ![image](https://user-images.githubusercontent.com/42200979/88267740-b20f9280-ccea-11ea-92e7-e50b9034f31e.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 #889: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:54)

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


   Next step is to check dbzFlexiGrid.js.  There will be an MXMLDescriptor getter that returns a data array.  Examine the array and match it in the debugger at the exception.  Looks like i=1 so it is creating a child object for whatever component it is creating in initializeStrandBasedObject.
   
   Every time you've reported this kind of issue in the past it has been because some other file has invalid output or was not loaded for some other reason.  By examining the data in the call stack of MXMLDataInterpreter you can find out what was not loaded correctly.


----------------------------------------------------------------
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 #889: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:54)

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


   Figure out which class/component is calling the MXMLDataInterpreter.  Examine the data in that .js file and compare it to the MXML file.


----------------------------------------------------------------
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 #889: Uncaught TypeError: cls is not a constructor (MXMLDataInterpreter.js:54)

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


   com.dbz.components.dbzFlexiGrid.mxml is calling the MXMLDataInterpreter.dbzFlexiGrid is in DBIZLib
   ![image](https://user-images.githubusercontent.com/42200979/88373385-2f9dd600-cdb1-11ea-9dc4-8b675f6b9c03.png)
   
   com.dbz.components.dbzFlexiGrid.mxml : https://paste.apache.org/3ozwe
   
   In Document dbzJournalVoucher dbzFlexiGrid is used like
   ```
   <components:dbzFlexiGrid height="30" y="24" right="2" left="93" id="searchBar">
   </components:dbzFlexiGrid>
   ```


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