0 Replies Latest reply on Jan 9, 2011 11:21 PM by vineet osho

    Null object reference during event dispactching

    vineet osho Level 1

      Hi Friends

                      I am working in application in which i m using a data grid .in that gird i rendred alink button in a column and call a function using outerdocument in which i simply call an alert but it shows error like this.

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.     at mx.controls::DataGrid/createItemEditor()[E:\dev\4.0.0\frameworks\projects\framework\src\m x\controls\DataGrid.as:4325]     at mx.controls::DataGrid/itemEditorItemEditBeginHandler()[E:\dev\4.0.0\frameworks\projects\f ramework\src\mx\controls\DataGrid.as:5237]     at flash.events::EventDispatcher/dispatchEventFunction()     at flash.events::EventDispatcher/dispatchEvent()     at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]     at mx.controls::DataGrid/commitEditedItemPosition()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\controls\DataGrid.as:4093]     at mx.controls::DataGrid/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\controls\DataGrid.as:1804]     at mx.controls.listClasses::ListBase/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\ framework\src\mx\controls\listClasses\ListBase.as:3962]     at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]     at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:736]

       

       

      i am unable to understand the problem why this happend.can any body having any clue than plz help me.


      Thanks And regards

           Vineet Osho