flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas A. Szczechowiak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34896) Null Error #1009 in mx.controls.DataGridColumn.as at line 1803
Date Thu, 25 Jun 2015 19:51:04 GMT
Thomas A. Szczechowiak created FLEX-34896:
---------------------------------------------

             Summary: Null Error #1009 in mx.controls.DataGridColumn.as at line 1803
                 Key: FLEX-34896
                 URL: https://issues.apache.org/jira/browse/FLEX-34896
             Project: Apache Flex
          Issue Type: Bug
          Components: mx: DataGrid
    Affects Versions: Apache Flex 4.14.0
         Environment: Windows XP/7, IE and Firefox with various flash players. Other browsers/OS
not testable.
            Reporter: Thomas A. Szczechowiak
             Fix For: Adobe Flex SDK 4.1 (Release)


Working on upgrading an older application from Flex SDK 4.1 to 4.14 (was originally built
on SDK 3.0 and migrated along the way without any massive refactors, very limited use of Spark)
and only just started encountering this error.  Does not happen with all of the grids in the
app but have had no success in tracking down why some of them are behaving differently.  We
do have the grids extended heavily making wholesale conversion to Spark time consuming and
problematic.

At line 1803 there is an attempt to get data[field] with no null checks on data.  Somehow
it is getting here while data is null causing this error.
typeof(null) == "object" returns true.

Following stack trace was hand typed if there are any typos (impossible to copy stack or any
code from other machine, have not been able to make a test app that recreates the problem)
mx.controls.dataGridClasses::DataGridColumn/itemToDataTip
mx.controls.dataGridClasses::DataGridItemRenderer/validateProperties
mx.managers::LayoutManager/validateClient
mx.controls::DataGrid/http://www.adobe.com/2006/flex/mx/internal::calculateHeaderHeight
mx.controls.dataGridClasses::DataGridHeader/measure
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes
mx.core::UIComponent/validateSize
mx.managers::LayoutManager/validateSize
mx.managers::LayoutManager/doPhasedInstantiation
mx.managers::LayoutManager/doPhasedInstantiationCallback




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message