0 Replies Latest reply on Jun 12, 2012 9:08 AM by acehema

    Scroll error in AdvancedDatagrid in Flex 4.6

    acehema

      I am migrating an application from Flex 3.5 to Flex 4.6 . The mx:AdvancedDatagrid component which seemed to work fine displayes errors as shown below when I scroll fast  . I am adding two more columns which has charts in them but this error seems to appear very frequently if I scroll faster . Please advice.

       

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

          at mx.controls.listClasses::AdvancedListBase/scrollVertically()[E:\dev\4.y\frameworks\projec ts\advancedgrids\src\mx\controls\listClasses\AdvancedListBase.as:6583]

          at mx.controls::AdvancedDataGridBaseEx/scrollVertically()[E:\dev\4.y\frameworks\projects\adv ancedgrids\src\mx\controls\AdvancedDataGridBaseEx.as:2543]

          at mx.controls.listClasses::AdvancedListBase/set verticalScrollPosition()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\lis tClasses\AdvancedListBase.as:1656]

          at mx.controls::AdvancedDataGridBaseEx/set verticalScrollPosition()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\Adv ancedDataGridBaseEx.as:1178]

          at mx.controls::AdvancedDataGrid/set verticalScrollPosition()[E:\dev\4.y\frameworks\projects\advancedgrids\src\mx\controls\Adv ancedDataGrid.as:1155]

          at mx.controls.listClasses::AdvancedListBase/mouseWheelHandler()[E:\dev\4.y\frameworks\proje cts\advancedgrids\src\mx\controls\listClasses\AdvancedListBase.as:8671]

          at mx.controls::AdvancedDataGridBaseEx/mouseWheelHandler()[E:\dev\4.y\frameworks\projects\ad vancedgrids\src\mx\controls\AdvancedDataGridBaseEx.as:7530]

          at mx.controls::AdvancedDataGrid/mouseWheelHandler()[E:\dev\4.y\frameworks\projects\advanced grids\src\mx\controls\AdvancedDataGrid.as:8665]

          at flash.events::EventDispatcher/dispatchEventFunction()

          at flash.events::EventDispatcher/dispatchEvent()

          at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.y\frameworks\projects\framework\s rc\mx\managers\SystemManager.as:2918] .