check calcPositionForIndexSelection() method in DisplayShelf.as your might forget to create the instance of some obj like you define an xmlListcollection and forget to make instance of it. like somexml =new xmllistcollection();
chk it, if you wouldn't able to figure it out, past your method here. HTH -Shaleen Jain http://shaleenjain.blogspot.com On Mar 31, 7:39 pm, gopal <gopal8...@gmail.com> wrote: > TypeError: Error #1009: Cannot access a property or method of a null > object reference. > at > > assets.as_component::DisplayShelf/calcPositionForIndexSelection()[D: > \archiapplicatio\Archiflashfinal4\src\assets\as_component\Di > > splayShelf.as:687] > at > > assets.as_component::DisplayShelf/calcPositionForSelection()[D: > \archiapplicatio\Archiflashfinal4\src\assets\as_component\DisplayS > > helf.as:636] > at > > assets.as_component::DisplayShelf/updateDisplayList()[D: > \archiapplicatio\Archiflashfinal4\src\assets\as_component > \DisplayShelf.as > > :545] > at > > mx.core::UIComponent/validateDisplayList()[E:\dev\3.0.x\frameworks > \projects\framework\src\mx\core\UIComponent.as:6214] > at > > mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x > \frameworks\projects\framework\src\mx\managers\LayoutManag > > er.as:602] > at > > mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x > \frameworks\projects\framework\src\mx\managers\LayoutMa > > nager.as:675] > at Function/http://adobe.com/AS3/2006/builtin::apply() > at > > mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks > \projects\framework\src\mx\core\UIComponent.as:8460] > at > > mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks > \projects\framework\src\mx\core\UIComponent.as:8403] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---