apache / royale-asjs

Apache Royale ASJS
Apache License 2.0
372 stars 116 forks source link

Uncaught TypeError: Cannot set property 'listData' of null (AdvancedDataGridItemRendererInitializer.js:62) #874

Open pashminakazi opened 4 years ago

pashminakazi commented 4 years ago

Project Details are : https://paste.apache.org/cpo8y Test case is available on VDI. Go to Sales from Select in Menu Go to Carriage/Freight -> Contractor from Setups in Menu File : com/dbz/modules/INV/dbzCarriageContractorSetup.mxml

Click on New button then second tab Agreement and then Plus(+) button....add agreement No and remarks and click OK,this exception will be occured image

image

aharui commented 4 years ago

What is the "ir" property set to at the exception? Is it null or something else?

pashminakazi commented 4 years ago

"ir" property is dbzCarriageContractorSetup.dbzCarriageContractorSetup_component0 image image image

aharui commented 4 years ago

What is the base class for that renderer?

pashminakazi commented 4 years ago

AdvancedDataGridItemRendererInitializer extends ListItemRendererInitializer ListItemRendererInitializer.as Path : mx.controls.beads.ListItemRendererInitializer.as

aharui commented 4 years ago

That looks like the hierarchy for the initializer and not the renderer. What are the top tags in any fx:Components in com/dbz/modules/INV/dbzCarriageContractorSetup.mxml or any MXML components it uses that defined the renderer.