Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D324D713 for ; Wed, 5 Sep 2012 23:55:08 +0000 (UTC) Received: (qmail 70505 invoked by uid 500); 5 Sep 2012 23:55:07 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 70378 invoked by uid 500); 5 Sep 2012 23:55:07 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 70363 invoked by uid 99); 5 Sep 2012 23:55:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 23:55:07 +0000 Date: Thu, 6 Sep 2012 10:55:07 +1100 (NCT) From: "Stephane Schittly (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <910126097.42146.1346889307489.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (FLEX-32887) Crash in chart drawing 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-32887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449276#comment-13449276 ] Stephane Schittly commented on FLEX-32887: ------------------------------------------ An easy workaround: add a condition to the data provider: dataProvider="{(serviceResult.lastResult.length > 1) ? serviceResult.lastResult : null}" - of course it will prevent to display only one item, but at least it doesn't crash. > Crash in chart drawing > ---------------------- > > Key: FLEX-32887 > URL: https://issues.apache.org/jira/browse/FLEX-32887 > Project: Apache Flex > Issue Type: Bug > Components: Charts:Data Graphics > Affects Versions: Adobe Flex SDK 4.1 (Release) > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > > Steps to reproduce: > Run attached testcase > > Actual Results: > TypeError: Error #1010: A term is undefined and has no properties. > at mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\charts\chartClasses\GraphicsUtilities.as:327] > at mx.charts.renderers::AreaRenderer/updateDisplayList()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\charts\renderers\AreaRenderer.as:169] > at mx.skins::ProgrammaticSkin/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:503] > at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:663] > at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] > at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira