Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Apache Flex 4.14.0
-
None
-
Windows XP/7, IE and Firefox with various flash players. Other browsers/OS not testable.
Description
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