Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26777

runtime error received at scroller.focusInHandler() when focus moving from editing mode to another dataGrid.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Focus Manager
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1.compile and run test app(the focus is from one dataGrid editing mode to another dataGrid)
      2.
      3.

      Actual Results:
      run time error:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.components::Scroller/focusInHandler()
      at flash.display::Stage/set focus()
      at mx.core::UIComponent/setFocus()
      at spark.components::DataGrid/setFocus()
      at scroller_focusIn_issue/editStartHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at spark.components.gridClasses::DataGridEditor/setEditedItemPosition()
      at spark.components.gridClasses::DataGridEditor/dataGrid_gridItemEditorSessionStartingHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at spark.components.gridClasses::DataGridEditor/startItemEditorSession()
      at spark.components::DataGrid/startItemEditorSession()
      at scroller_focusIn_issue/callEdit()
      at flash.display::Stage/set focus()
      at mx.core::UIComponent/setFocus()
      at spark.components::DataGrid/setFocus()
      at scroller_focusIn_issue/test()
      at scroller_focusIn_issue/___scroller_focusIn_issue_Application1_creationComplete()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at mx.core::UIComponent/set initialized()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()

      Expected Results:
      no error

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: