brianraymes commented on issue #188: URL: https://github.com/apache/royale-compiler/issues/188#issuecomment-867109523
In my case, the `someProperty` was null, not `config`. If `config` were null, I would expect the bindings to not show anything. I can obviously add null protection, but shouldn't there be some sort of exception thrown? Some sort of way to determine why it is failing at runtime, at least with a debug build? Other properties of config were not null, and were expected to be displayed, or at least an NPE to let me know of the failure. I keep running into issues like this where views stop processing data and just appear blank with no understandable reason as to why. Another simple example, but unrelated to binding, is using the Jewel VirtualList without a ListPresentationModel with rowHeight set. VirtualList requires the rowHeight for layout, but doesn't error in any way without it. It simply shows up blank with no exception. These kinds of issues have been cropping up a bit for me as I have been building with Royale, and seem to waste quite a bit of time before I figure out how/where/why. I will have to get back to you on testing with Flex. I'll try to set up an example in the coming days to verify. -- 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: [email protected]
