Hi, I just committed a fix to solve an issue Piotr was getting in DataGrid.
The issue only can be seen in release mode, in debug works, so it seems a compiler bug so hope others like Greg or Josh with more knowledge in that field can see what could be wrong, or if maybe it is just some issue in the code. Problem is in DataGridView line 239: // var pm:DataGridColumnListPresentationModel = list.getBeadByType(IListPresentationModel) as DataGridColumnListPresentationModel; var pm:DataGridColumnListPresentationModel = list.presentationModel as DataGridColumnListPresentationModel; Commented line does not work, I need to refactor to the next one. in the commit I added missed coercions and need to make IDataGridColumnList implement "IListWithPresentationModel" (what I think is ok since that is needed for all column lists. So the problem is: Why can't I retrieve the bead from the list? I'm thinking this could be a timing issue, since the list needs to be added to the parent to process the beads and be able to retrieve the one. I'll try one more test now trying to put some time out after addElement. ---------- Forwarded message --------- De: Piotr Zarzycki <[email protected]> Date: mié., 2 sept. 2020 a las 12:48 Subject: Re: NPE in DataGridView - release build of application To: Apache Royale Development <[email protected]> I have sent you. śr., 2 wrz 2020 o 12:41 Carlos Rovira <[email protected]> napisał(a): > cool :) > yeah send me :) > -- Carlos Rovira http://about.me/carlosrovira
