Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread Peter Ent
OK. I will look at the other layouts and probably do the same for them where it makes sense. On 5/1/17, 10:06 AM, "piotrz" wrote: >Thank you Peter. That helped. I was thinking about such solution, but >wasn't >sure whether it won't break anything. If I'm thinking more about that it >makes sense

Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread piotrz
Thank you Peter. That helped. I was thinking about such solution, but wasn't sure whether it won't break anything. If I'm thinking more about that it makes sense do not bother non UIBase component here. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http

Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread Peter Ent
Hi Piotr, I mostly understand. It seems like the child is not UIBase so it is null, at least in one of the cases. The layout code should be changed to check for null and skip that child. Can you see if that helps? ‹peter On 5/1/17, 8:35 AM, "piotrz" wrote: >Hi Peter, > >During creation of Dro