Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.compile and run test app
2.click "createAWindow" button
->it will create a window which has skinClass=spark.skins.spark.WindowedApplicationSkin
3.click "minimize" button
->it minimizes the window, which is expected.
4. click "restore" button
->receive run time error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components.windowClasses::TitleBar/getCurrentSkinState()[E:\dev\4.x\frameworks\projects\airspark\src\spark\components\windowClasses\TitleBar.as:482]
at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:426]
at spark.components.windowClasses::TitleBar/commitProperties()[E:\dev\4.x\frameworks\projects\airspark\src\spark\components\windowClasses\TitleBar.as:427]
at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7885]
at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:730]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]
Expected Results:
no error.
Workaround (if any):