You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Jason Warlikowski (JIRA)" <ji...@apache.org> on 2013/08/23 19:12:51 UTC

[jira] [Commented] (FLEX-32599) TypeError: Error #1009: Cannot access a property or method of a null object reference.at mx.controls::AdvancedDataGrid/findHeaderRenderer()mx.controls::AdvancedDataGrid/mouseEventToItemRenderer()

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

Jason Warlikowski commented on FLEX-32599:
------------------------------------------

I'm using the release version of 4.10.0, and I'm facing the RTE after scrolling horizontally, so I don't think this fix made it into the release build.  As a workaround, I was able to override findHeaderRenderer in a derived class and include the code to continue if headerItem is null.
                
> TypeError: Error #1009: Cannot access a property or method of a null object reference.at mx.controls::AdvancedDataGrid/findHeaderRenderer()mx.controls::AdvancedDataGrid/mouseEventToItemRenderer()
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-32599
>                 URL: https://issues.apache.org/jira/browse/FLEX-32599
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Windows
> Affected OS(s): 
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Justin Mclean
>            Priority: Minor
>             Fix For: Apache Flex 4.10.0
>
>
> Steps to reproduce:
> 1. Columns created 
> 2. dataProvider is initializing
> 3. moving to header of the grid then error occured.
>  
>  Actual Results:
>  runtime error occured
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> 	at mx.controls::AdvancedDataGrid/findHeaderRenderer()
> 	at mx.controls::AdvancedDataGrid/mouseEventToItemRenderer()
> 	at mx.controls.listClasses::AdvancedListBase/mouseMoveHandler()
>  
>  Expected Results:
>  no error should be occur.
>  
>  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira