On 11/27/16, 10:45 PM, "doug777" <[email protected]> wrote:

>I don't think the stack traces help as they only relate to the error
>caused.
>For example here is the trace for a DataGrid that uses a custom skin.
>
>TypeError: Error #1009: Cannot access a property or method of a null
>object
>reference.
>       at
>spark.components::GridColumnHeaderGroup/getHeaderRendererAt()[/Users/justi
>nmclean/Documents/ApacheFlex4.15/frameworks/projects/spark/src/spark/compo
>nents/GridColumnHeaderGroup.as:921]
>       at
>spark.components::GridColumnHeaderGroup/dispatchGridEvent()[/Users/justinm
>clean/Documents/ApacheFlex4.15/frameworks/projects/spark/src/spark/compone
>nts/GridColumnHeaderGroup.as:1266]
>       at
>spark.components::GridColumnHeaderGroup/gchg_mouseDownDragUpHandler()[/Use
>rs/justinmclean/Documents/ApacheFlex4.15/frameworks/projects/spark/src/spa
>rk/components/GridColumnHeaderGroup.as:1112]
>       at
>Function/<anonymous>()[/Users/justinmclean/Documents/ApacheFlex4.15/framew
>orks/projects/spark/src/spark/utils/MouseEventUtil.as:104]

Hmm.  The above stack trace looks like
https://issues.apache.org/jira/browse/FLEX-35028

>
>This is caused by clicking in the header row that should contain the
>header
>data, but doesn't because after the dataProvider is filled, presumably the
>skin can't update the display list.

I guess this still doesn't make sense to me.  If the skin can't update the
display list, I would expect an error in that part of the code.  Can you
attach a simple test case the FLEX-35028?

-Alex

Reply via email to