You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "darren db (JIRA)" <ji...@apache.org> on 2013/03/22 18:29:16 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=13610960#comment-13610960 ] 

darren db commented on FLEX-32599:
----------------------------------

I have this issue as well. If the mouse is moved across the ADG header during startup, these errors are thrown:
Error: Error #1009: Cannot access a property or method of a null object reference.
	at mx.controls::AdvancedDataGrid/findHeaderRenderer()[E:\dev\4.5.1\frameworks\projects\advancedgrids\src\mx\controls\AdvancedDataGrid.as:5866]
	at mx.controls::AdvancedDataGrid/mouseEventToItemRenderer()[E:\dev\4.5.1\frameworks\projects\advancedgrids\src\mx\controls\AdvancedDataGrid.as:2155]
	at mx.controls::AdvancedDataGrid/mouseOutHandler()[E:\dev\4.5.1\frameworks\projects\advancedgrids\src\mx\controls\AdvancedDataGrid.as
Very easy to reproduce, not sure how to prevent, other than some artificial button blocker or hacks with enabling and disabling the grid...
                
> 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: Adobe JIRA
>            Priority: Minor
>
> 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