Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a DataGrid with an ArrayCollection as its dataProvider.
2. Add enough items to the ArrayCollection to make the DataGrid scroll.
3. Compile with -compatibility-version=2.0.1.
Actual Results:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.core::UIComponent/createInFontContext()
at mx.controls::Button/createChildren()
at mx.core::UIComponent/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::UIComponent/addChild()
at mx.controls.scrollClasses::ScrollBar/createChildren()
at mx.core::UIComponent/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::UIComponent/addChild()
at mx.core::ScrollControlBase/createVScrollBar()
at mx.core::ScrollControlBase/setScrollBarProperties()
at mx.controls::DataGrid/configureScrollBars()
at mx.controls.listClasses::ListBase/updateDisplayList()
at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()
at mx.controls::DataGrid/updateDisplayList()
at mx.controls.listClasses::ListBase/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()
Expected Results:
Workaround (if any):