flex-issues mailing list archives

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

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

Adrian G commented on FLEX-34350:
---------------------------------

I found the cause of the problem in the above project.  DataGridSkin.mxml now defines a GridView
factory.

> 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