[
https://issues.apache.org/jira/browse/FLEX-14269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean resolved FLEX-14269.
----------------------------------
Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0
Checked into develop.
> RTE in Slider when used as dataRenderer in some test cases
> ----------------------------------------------------------
>
> Key: FLEX-14269
> URL: https://issues.apache.org/jira/browse/FLEX-14269
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Slider
> Affects Versions: Adobe Flex SDK 3.0 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Priority: Minor
> Fix For: Apache Flex 4.10.0
>
>
> This is in all versions of flex released, both 2 and 3.
> Steps to reproduce:
> 1. Create a slider component inside of a canvas
> 2. Resize the main window very rapidly
> 3. Throw Error
>
> Actual Results:
> TypeError: Error #1009: Cannot access a property or method of a null object
> reference.
> at
> mx.controls.sliderClasses::Slider/updateDisplayList()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\sliderClasses\Slider.as:1545]
>
> Expected Results:
> No error should be thrown.
>
> Workaround (if any):
>
> Line #1552 of Slider.as in mx.controls.sliderClasses
> var firstThumb:SliderThumb = SliderThumb(thumbs.getChildAt(0));
> if (thumbs && firstThumb)
> widestThumb = firstThumb.getExplicitOrMeasuredWidth();
> Should be
> if (thumbs)
> var firstThumb:SliderThumb = SliderThumb(thumbs.getChildAt(0));
> if (firstThumb)
> widestThumb = firstThumb.getExplicitOrMeasuredWidth();
--
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