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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: DataGrid
    • None
    • Affected OS(s): Windows
      Browser: Firefox 3.x
      Language Found: English

    Description

      In DataGridColumn.as line 1355, the DataGridColumn parentGrid(the Datagrid) is null.

      StackTrace:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.controls.dataGridClasses::DataGridColumn/http://www.adobe.com/2006/flex/mx/internal::addStyleToProtoChain()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\dataGridClasses\DataGridColumn.as:1355]
      at mx.controls.dataGridClasses::DataGridItemRenderer/initProtoChain()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\dataGridClasses\DataGridItemRenderer.as:563]
      at mx.controls.dataGridClasses::DataGridItemRenderer/regenerateStyleCache()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\dataGridClasses\DataGridItemRenderer.as:588]
      at mx.core::UIComponent/regenerateStyleCache()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:7821]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5250]
      at mx.core::UIComponent/addChild()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:4966]
      at mx.controls.dataGridClasses::DataGridHeader/updateDisplayList()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\dataGridClasses\DataGridHeader.as:197]
      at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6362]
      at mx.managers::LayoutManager/validateClient()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:880]
      at mx.core::UIComponent/validateNow()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5690]
      at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\dataGridClasses\DataGridBase.as:493]
      at mx.controls::DataGrid/updateDisplayList()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:1449]
      at mx.controls.listClasses::ListBase/validateDisplayList()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:3344]
      at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
      at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:677]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8744]
      at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8684]

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: