You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mark Kessler (JIRA)" <ji...@apache.org> on 2015/01/02 13:34:13 UTC

[jira] [Resolved] (FLEX-34710) spark datagrid doubleClickMode throws Error #1009 when the application is run

     [ https://issues.apache.org/jira/browse/FLEX-34710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Kessler resolved FLEX-34710.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Apache Flex 4.14.0

> spark datagrid doubleClickMode throws Error #1009 when the application is run
> -----------------------------------------------------------------------------
>
>                 Key: FLEX-34710
>                 URL: https://issues.apache.org/jira/browse/FLEX-34710
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>         Environment: windows 7, flash player 16,0,0,252, flex 4.13.0
>            Reporter: Paul Hastings
>            Assignee: Mark Kessler
>            Priority: Minor
>              Labels: datagrid, spark
>             Fix For: Apache Flex 4.14.0
>
>         Attachments: dgTest.mxml
>
>
> if you set the doubleClickMode on a spark datagrid, it compiles but throws this at runtime:
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> 	at spark.components::DataGrid/set doubleClickMode()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/components/DataGrid.as:1592]
> 	at dgTest/_dgTest_DataGrid1_i()[E:\flex\wp\src\dgTest.mxml:6]
> 	at dgTest/_dgTest_Array1_c()
> 	at mx.core::DeferredInstanceFromFunction/getInstance()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as:116]
> 	at spark.components::SkinnableContainer/createDeferredContent()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/components/SkinnableContainer.as:1091]
> ...
> not a biggie & tested more out of curiosity as you can work out much of what you need from the GridEvent itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)