flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Gillette (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34350) NPE, gridLayout.centerGridView is null
Date Tue, 10 Jun 2014 18:57:02 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026844#comment-14026844
] 

Adrian Gillette commented on FLEX-34350:
----------------------------------------

Here's a project that exposes this problem with 4.12, http://francois.de-campredon.fr/2011/03/playing-with-spark-datagrid-part-3-hierarchy/.
 There are no errors when the project is compiled with 4.6.

> NPE, gridLayout.centerGridView is null
> --------------------------------------
>
>                 Key: FLEX-34350
>                 URL: https://issues.apache.org/jira/browse/FLEX-34350
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Alexander Mazuruk
>
> [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method
of a null object reference.
> at spark.components.gridClasses::GridHeaderLayout/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/spark/src/spark/components/gridClasses/GridHeaderLayout.as:199]
> at spark.components.supportClasses::GroupBase/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as:1302]
> at spark.components::Group/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/spark/src/spark/components/Group.as:1179]
> at mx.core::UIComponent/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/framework/src/mx/core/UIComponent.as:9531]
> at spark.components::Group/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/spark/src/spark/components/Group.as:1101]
> at mx.managers::LayoutManager/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:744]
> at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:827]
> at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message