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. Build the bugfile in AIR.
2. Launch the AIR application which only has a FlexNativeMenu bound to an XML Dataprovider.
Actual Results: runtime error -
RangeError: Error #2006: The supplied index is out of bounds.
at Error$/throwError()
at flash.display::NativeMenuItem/set mnemonicIndex()
at mx.controls::FlexNativeMenu/insertMenuItem()[E:\dev\flex\sdk\frameworks\projects\airframework\src\mx\controls\FlexNativeMenu.as:1176]
at mx.controls::FlexNativeMenu/populateMenu()[E:\dev\flex\sdk\frameworks\projects\airframework\src\mx\controls\FlexNativeMenu.as:1116]
at mx.controls::FlexNativeMenu/commitProperties()[E:\dev\flex\sdk\frameworks\projects\airframework\src\mx\controls\FlexNativeMenu.as:1069]
at mx.controls::FlexNativeMenu/validateProperties()[E:\dev\flex\sdk\frameworks\projects\airframework\src\mx\controls\FlexNativeMenu.as:959]
at mx.managers::LayoutManager/validateProperties()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:519]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:639]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8452]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8395]
Expected Results: no runtime error
Workaround (if any):