You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2015/01/06 16:44:35 UTC

[jira] [Resolved] (FLEX-34625) Setting focus with a zero size component and focusThickness causes RTE

     [ https://issues.apache.org/jira/browse/FLEX-34625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Chira resolved FLEX-34625.
--------------------------------
    Resolution: Fixed

> Setting focus with a zero size component and focusThickness causes RTE
> ----------------------------------------------------------------------
>
>                 Key: FLEX-34625
>                 URL: https://issues.apache.org/jira/browse/FLEX-34625
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Focus Manager
>    Affects Versions: Apache Flex 4.13.0, Apache Flex 4.14.0
>         Environment: Adobe AIR
>            Reporter: Marcus Wilkinson
>            Assignee: Mihai Chira
>              Labels: FocusSkin
>             Fix For: Apache Flex 4.14.0
>
>         Attachments: Main.mxml
>
>
> HighlightBitmapCaptureSkin.updateDisplayList() may instantiate a BitmapData object with a zero area which will cause a ctor runtime error #2015.
> *Steps to reproduce*: run the attached AIR application mxml.
> *RTE*:
> ArgumentError: Error #2015: Invalid BitmapData.
> at flash.display::BitmapData/ctor()
> at flash.display::BitmapData()
> at spark.skins.spark::HighlightBitmapCaptureSkin/updateDisplayList()[C:\Users\evolverine\Adobe Flash Builder 4.7\FLEX-34649\src\spark\skins\spark\HighlightBitmapCaptureSkin.as:171]
> at spark.skins.spark::FocusSkin/updateDisplayList()[C:\Users\evolverine\workspace\sdk\frameworks\projects\spark\src\spark\skins\spark\FocusSkin.as:126]
> at mx.core::UIComponent/validateDisplayList()[C:\Users\evolverine\workspace\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9531]
> at mx.managers::LayoutManager/validateDisplayList()[C:\Users\evolverine\workspace\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:744]
> at mx.managers::LayoutManager/doPhasedInstantiation()[C:\Users\evolverine\workspace\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:827]
> at mx.managers::LayoutManager/doPhasedInstantiationCallback()[C:\Users\evolverine\workspace\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1188]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)