[
https://issues.apache.org/jira/browse/FLEX-28982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carol Frampton updated FLEX-28982:
----------------------------------
Attachment: testMXML.mxml
ComboBoxSkin.mxml
testMXML.mxml and ComboBoxSkin.mxml can be used to verify the bug and/or fix.
> DropDownController - Null Object Reference
> ------------------------------------------
>
> Key: FLEX-28982
> URL: https://issues.apache.org/jira/browse/FLEX-28982
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DropDownList
> Affects Versions: Adobe Flex SDK 4.6 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Browser: Internet Explorer 8.x
> Language Found: English
> Reporter: Adobe JIRA
> Attachments: ComboBoxSkin.mxml, testMXML.mxml
>
>
> Steps to reproduce:
> 1. Apply a skin to DropDownListBase-based components (ComboBox, DropDownList,
> etc).
> 2. Invoke the detachSkin() somehow (i.e. change the skin at runtime).
>
> Actual Results:
> TypeError: Error #1009: Cannot access a property or method of a null object
> reference.
> at spark.components.supportClasses::DropDownController/set
> openButton()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\DropDownController.as:100]
> at
> spark.components.supportClasses::DropDownListBase/partRemoved()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:543]
> at
> spark.components.supportClasses::SkinnableComponent/clearSkinParts()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:764]
> at
> spark.components.supportClasses::SkinnableComponent/detachSkin()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:798]
> at
> spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:442]
> at
> spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:457]
> at
> spark.components.supportClasses::ListBase/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\ListBase.as:892]
> at
> spark.components::List/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\List.as:1139]
> at
> spark.components.supportClasses::DropDownListBase/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:508]
> at
> spark.components::DropDownList/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\DropDownList.as:287]
> at
> sungard.ebs.base.components::DropDownMenu/commitProperties()[C:\EBS3\Flexspace46\AmbitBaseSpark\src\sungard\ebs\base\components\DropDownMenu.as:188]
> at
> mx.core::UIComponent/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8219]
> at
> mx.managers::LayoutManager/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:597]
> at
> mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:813]
> at
> mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]
> at flash.utils::Timer/_timerDispatch()
> at flash.utils::Timer/tick()
>
>
> Expected Results:
>
> No runtime error.
>
> Workaround (if any):
> None. Monkey-patch...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira