Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91B16102F1 for ; Tue, 6 Jan 2015 15:10:35 +0000 (UTC) Received: (qmail 17929 invoked by uid 500); 6 Jan 2015 15:10:36 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 17901 invoked by uid 500); 6 Jan 2015 15:10:36 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 17745 invoked by uid 99); 6 Jan 2015 15:10:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2015 15:10:36 +0000 Date: Tue, 6 Jan 2015 15:10:36 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34625) Setting focus with a zero size component and focusThickness causes RTE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Chira updated FLEX-34625: ------------------------------- Description: 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] was: HighlightBitmapCaptureSkin.updateDisplayList may instantiates 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] > 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)