Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 4.6 (Release)
Description
When rotating the mobile simulator (Menu Device>Rotate left or right), I get the following error:
Error #1056: Cannot create property null on spark.components.DataGroup. at spark.components::Scroller/http://www.adobe.com/2006/flex/mx/internal::snapElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1571] at spark.components::Scroller/checkScrollPosition()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1750] at spark.components::Scroller/handleSizeChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1766] at spark.components::Scroller/handleSizeChangeOnUpdateComplete()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:2048]
In Scroller:1571 viewport[scrollProperty] = snapScrollPosition;
scrollProperty is null, which trigger the RTE.
Scroller belongs to a spark:List with HorizontalLayout and verticalScrollPolicy style is set to ScrollPolicy.OFF.
also, the RTE does not seem to occur on the real device, but maybe it is just swallowed...