0 Replies Latest reply on Dec 14, 2006 7:41 AM by michael_ramirez44

    DataGridl Scroll Error

    michael_ramirez44 Level 1
      I have a datagrid that is populated via a RemoteObject call. You can select different reports via tree control. On one particular report I get errors when I use the vertical scroll on the grid. I have installed the Flash Player 9.0.16 debug version and get the following errors.

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.controls.scrollClasses::ScrollBar/::scrollTrack_mouseOutHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.controls.scrollClasses::ScrollBar/ http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent()
      at mx.controls.scrollClasses::ScrollBar/ http://www.adobe.com/2006/flex/mx/internal::pageScroll()
      at mx.controls.scrollClasses::ScrollBar/::scrollTrack_mouseDownHandler()

      TypeError: Error #1010: A term is undefined and has no properties.
      at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::scrollVertically()
      at mx.controls::DataGrid/mx.controls:DataGrid::scrollVertically()
      at mx.controls.listClasses::ListBase/set verticalScrollPosition()
      at mx.controls::DataGrid/mx.controls:DataGrid::scrollHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.controls.scrollClasses::ScrollBar/ http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent()
      at mx.controls.scrollClasses::ScrollBar/ http://www.adobe.com/2006/flex/mx/internal::pageScroll()
      at mx.controls.scrollClasses::ScrollBar/::scrollTrack_mouseDownHandler()

      Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
      at flash.utils::Timer/flash.utils:Timer::tick()

      ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
      at flash.display::DisplayObjectContainer/removeChild()
      at mx.core::UIComponent/ http://www.adobe.com/2006/flex/mx/internal::$removeChild()
      at mx.core::UIComponent/removeChild()
      at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateDisplayList()
      at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList()
      at mx.core::UIComponent/validateDisplayList()
      at mx.managers::LayoutManager/::validateDisplayList()
      at mx.managers::LayoutManager/::doPhasedInstantiation()
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/::callLaterDispatcher2()
      at mx.core::UIComponent/::callLaterDispatcher()

      Error: Error #1503: A script failed to exit after 30 seconds and was terminated.
      at mx.skins.halo::BusyCursor/::enterFrameHandler()

      How to I go about tracking down this bug? I want to be able to debug similar problems on my own if they occur later.