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/09/17 09:26:48 UTC

[GitHub] [royale-asjs] pashminakazi commented on issue #909: Uncaught TypeError: Cannot read property 'length' of undefined (SingleSelectionIListModel.js:156)

pashminakazi commented on issue #909:
URL: https://github.com/apache/royale-asjs/issues/909#issuecomment-694112780


   i have added a check in DropDownListBase's get and set DataProvider
   when i open dbzProductLedger the debugger goes to get DataProvider
   
   ```
   if(dataProvider == null) 
      trace("dataprovider is null" + dataProvider);
   }
   ```
   ![image](https://user-images.githubusercontent.com/42200979/93451611-d655ad00-f8f0-11ea-8358-890f3e21dad0.png)
   ![image](https://user-images.githubusercontent.com/42200979/93451628-dce42480-f8f0-11ea-8b04-91e64e11b9ef.png)
   
   this.dataprovider
   Message : maximum call stack size exceeded
   Stack : "RangeError: Maximum call stack size exceeded
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:35:88)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)
       at spark.components.DropDownList.spark.components.supportClasses.DropDownListBase.get__dataProvider (http://localhost:8080/SHMA/spark/components/supportClasses/DropDownListBase.js:36:12)"
   
   
   
   value is : 
   ![image](https://user-images.githubusercontent.com/42200979/93452003-5419b880-f8f1-11ea-9ba8-ad69edb160fe.png)
   
   ![image](https://user-images.githubusercontent.com/42200979/93452376-c7232f00-f8f1-11ea-8834-8ee6d0e52509.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