Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile and run the following
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
<![CDATA[
public function unsetVS():void
]]
>
</fx:Script>
<s:layout>
<s:VerticalLayout/>
</s:layout>
<s:VSlider id="vs"/>
<s:Button label="Set stepSize to NaN" click="unsetVS()"/>
</s:Application>
2. Click Button
Actual Results:
RTE:
TypeError: Error #1010: A term is undefined and has no properties.
at spark.components.supportClasses::Range/nearestValidValue()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\Range.as:449]
at spark.components.supportClasses::Range/commitProperties()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\Range.as:362]
at mx.core::UIComponent/validateProperties()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:8102]
at mx.managers::LayoutManager/validateProperties()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\LayoutManager.as:597]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\LayoutManager.as:813]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]
Expected Results:
No RTE
Workaround (if any):