Which line is throwing null pointer Error?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at comps::Header/callMe()[C:\Documents and Settings\ravi_varre\My Documents\Flex Builder 3\ViewMorDemo\src\comps\Header.mxml:68]
at comps::Header/___Header_Image1_click()[C:\Documents and Settings\ravi_varre\My Documents\Flex Builder 3\ViewMorDemo\src\comps\Header.mxml:14]
The datagrid will be created only if application has gone to "keywords"state atleast once.Till then peopledg will be null.As a workaround what you can do is check if peopledg is null before you check its visibility.
I wish you were my Collugue
Thanks Mate , it worked