I have a ViewStack with 2 canvas, on first a have a char and on second a grid... it haves dataproviders in mx:Script block, that are choosed from a combobox... and a error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
i dont set the dataprovider in mxml tag. Someone can help me?

