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/08 12:30:51 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #905: Unable to access Array items by index

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


   TypeError: cannot read property '1' of undefined at arrTempObjContainer[1] 
   arrTempObjContainer an Array
   
   Code : 
   ![image](https://user-images.githubusercontent.com/42200979/92476539-90199300-f1f8-11ea-9a13-f0e01886623e.png)
   
   ![image](https://user-images.githubusercontent.com/42200979/92476798-f30b2a00-f1f8-11ea-820f-5cc22943e81b.png)
   
   ![image](https://user-images.githubusercontent.com/42200979/92476505-7d9f5980-f1f8-11ea-897e-2f7be487615a.png)
   ![image](https://user-images.githubusercontent.com/42200979/92476519-842dd100-f1f8-11ea-83a8-e04b9631dbbb.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 #905: Unable to access Array items by index

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


   Yes, I can see that from the screenshots, but what isn't clear is how that code gets called after the other code in the screenshots that seem to indicate that a valid response was returned.  I see in the source screenshot that some references to fn_roReportUtilRH are commented out.
   
   It might also help if you can show the full stack trace at the exception.  Right now most of it is cutoff 


----------------------------------------------------------------
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 #905: Unable to access Array items by index

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


   fn_roReportUtilRH is in our main Application file, applications.mxml
   
   On Tue, Sep 8, 2020, 7:59 PM aharui <no...@github.com> wrote:
   
   > It is important for you to learn the application and framework code. It is
   > not efficient for me to debug an asynchronous event in your code. Where is
   > fn_roReportUtilRH referenced in your application code? How does this
   > current view get to those places in your code?
   >
   > —
   > 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/905#issuecomment-688936236>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AKB67E725T57ODUF4DUGUK3SEZBG7ANCNFSM4Q74766A>
   > .
   >
   


----------------------------------------------------------------
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 #905: Unable to access Array items by index

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


   In the second screenshot, the breakpoint needs to be after the call (line 296) otherwise you are examining the variable before the call, when it is the Array assigned earlier.
   
   It isn't clear how the value then gets passed to fn_roReportUtilRH.  Understanding that may help you understand why you are getting a different value 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 closed issue #905: Unable to access Array items by index

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


   


----------------------------------------------------------------
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 #905: Unable to access Array items by index

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


   If you have time please check on VDI
   Click on PDF button from screen to trigger the breakpoints
   
   
   On Tue, Sep 8, 2020, 7:45 PM aharui <no...@github.com> wrote:
   
   > In the second screenshot, the breakpoint needs to be after the call (line
   > 296) otherwise you are examining the variable before the call, when it is
   > the Array assigned earlier.
   >
   > It isn't clear how the value then gets passed to fn_roReportUtilRH.
   > Understanding that may help you understand why you are getting a different
   > value 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/905#issuecomment-688926072>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AKB67E67RPY2YWABQNVETOLSEY7PBANCNFSM4Q74766A>
   > .
   >
   


----------------------------------------------------------------
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 #905: Unable to access Array items by index

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


   It is important for you to learn the application and framework code.  It is not efficient for me to debug an asynchronous event in your code.  Where is fn_roReportUtilRH referenced in your application code?  How does this current view get to those places in your code?


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