[
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:34 AM:
-------------------------------------------------------------------
Stack trace says error is in CartesinaChart line 922:
{code}
if (_horizontalAxisRenderer && _horizontalAxisRenderer is DualStyleObject)
{
DualStyleObject(_horizontalAxisRenderer).internalStyleName =
922: getStyle("horizontalAxisStyleNames")[0];
}
{code}
It's the [0] that is failing, so I guess "horizontalAxisStyleNames" is not an
array or is null.
Can you check the css ?
I you can debug your app, put a breakpoint in CartesianChart line 922 and see
that getStyle("horizontalAxisStyleNames") returns in the Expression Watcher
was (Author: mamsellem):
Stack trace says error is in CartesinaChart line 922:
{code}
if (_horizontalAxisRenderer && _horizontalAxisRenderer is DualStyleObject)
{
DualStyleObject(_horizontalAxisRenderer).internalStyleName =
922: getStyle("horizontalAxisStyleNames")[0];
}
{code}
It's the [0] that is failing, so I guess "horizontalAxisStyleNames" is not an
array or is null.
Can you check the css ?
> 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)