You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2014/03/13 11:27:43 UTC
[jira] [Comment Edited] (FLEX-34118) CartesianChart null pointer
[ https://issues.apache.org/jira/browse/FLEX-34118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933070#comment-13933070 ]
Maurice Amsellem edited comment on FLEX-34118 at 3/13/14 10:25 AM:
-------------------------------------------------------------------
_horizontalAxisRenderers and _verticalAxisRenderers are accessed in many places in the class where it assumes it is not null.
Also, both are initialized are empty arrays:
{code}
line 567: private var _horizontalAxisRenderers:Array /* of AxisRenderer */ = [];
line 739: private var _verticalAxisRenderers:Array /* of AxisRenderer */ = [];
{code}
they can't have been set to null values, becauses that would have caused RTE in the setters.
So IMO, it's something else.
Anyway, we need an example
was (Author: mamsellem):
_horizontalAxisRenderers and _verticalAxisRenderers are accessed in many places in the class where it assumes it is not null.
Also, both are initialized are empty arrays:
{code}
line 567: private var _horizontalAxisRenderers:Array /* of AxisRenderer */ = [];
line 739: private var _verticalAxisRenderers:Array /* of AxisRenderer */ = [];
{code}
they can't have been set to null values, becauses that would have caused RTE in the setters.
So IMO, it's something else
> CartesianChart null pointer
> ---------------------------
>
> Key: FLEX-34118
> URL: https://issues.apache.org/jira/browse/FLEX-34118
> Project: Apache Flex
> Issue Type: Bug
> Components: Charts
> Affects Versions: Apache Flex 4.11.0
> Reporter: Alexander Mazuruk
>
> TypeError: Error #1010: A term is undefined and has no properties.
> at mx.charts.chartClasses::CartesianChart/commitProperties()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as:922]
> at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:8482]
> at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
> at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
> at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
--
This message was sent by Atlassian JIRA
(v6.2#6252)