Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1.Create a DateSpinner object
2.Set maxDate to new Date(2011,9,1,3,3,3)
3.Set minDate to new Date(2008,10,1,3,3,3)
4.Set selectedDate to new Date(2011,6,15,2,2,2)
5.Verify the date can show out since it is in valid area
Actual Results:
Exception pop up.
The detailed exception is:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::DateSpinner/disableInvalidSpinnerValues()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\DateSpinner.as:1223]
at spark.components::DateSpinner/commitProperties()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\DateSpinner.as:681]
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]
Expected Results:
There should be no exception.
Notes:
1. Not all valid date will have this error. If we change selectedDate to new Date(2010,6,15,2,2,2), then no error exist.
2. Pls find the test app in attchment.