incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-28982) DropDownController - Null Object Reference
Date Tue, 16 Oct 2012 20:23:04 GMT

     [ https://issues.apache.org/jira/browse/FLEX-28982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carol Frampton resolved FLEX-28982.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Adobe Flex SDK Next
         Assignee: Carol Frampton

Author: cframpton
Date: Tue Oct 16 20:18:58 2012
New Revision: 1398975

URL: http://svn.apache.org/viewvc?rev=1398975&view=rev
Log:
FLEX-28982.  Fix null object reference in set openButton.

Modified:
    incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as

                
> 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
>            Assignee: Carol Frampton
>             Fix For: Adobe Flex SDK Next
>
>         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

Mime
View raw message