Community
Participate
Working Groups
Created attachment 206970 [details] Zipped RUI application projects Import projects from attached zip file. Run RUI handler PaymentFileMaintenance. Select (click on) utilities row in datagrid. WriteStdOut trace for Rui shows cellClicked event triggered: Event: cellClicked Payment: null [CRRUI1083E] An error occurred while the click browser event was being handled. [CRRUI2002E] 'this.eze$$parent.selectedPayment.description' is null or not an object An error occurred inside retrieveModelHelper this.selectedPayment.description: publish [CRRUI2094E] Here are the EGL function calls leading to this error: org/eclipse/edt/rui/mvc/MVCLib.egl() at line 22 org/eclipse/edt/rui/mvc/Controller.egl() at line 86 org/eclipse/edt/rui/mvc/FormManager.egl() at line 48 handlers/PaymentFileMaintenance.egl() at line 312 org/eclipse/edt/rui/widgets/DataGrid.egl() at line 993 org/eclipse/edt/rui/widgets/DataGrid.egl() at line 982 cellClicked function should set selectedPayment using getSelection function, but trace shows selectedPayment is null. Here is cellclicked function. function cellClicked(myGrid DataGrid in) selectedPayment = allPayments_ui.getSelection()[1] as paymentRec; logPaymentEvent ( "cellClicked", selectedPayment ) ; selectedPayment_form.publish(); selectedPayment_category_comboBox.value = PaymentLib.getCategoryDesc(selectedPayment.category); end
This problem happens when accessing data in an any array field when the array literal is not explicitly converted to any type array. Such case may be common when using DataGrid, so change the severity to P1
Change ArrayLiteralTemplated. Fixed yesterday.
Issue Fixed