flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Welch (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34083) Spark DataGrid GridItemRenderers cause #1009 error when loaded using modules
Date Wed, 12 Feb 2014 16:36:22 GMT
David Welch created FLEX-34083:
----------------------------------

             Summary: Spark DataGrid GridItemRenderers cause #1009 error when loaded using
modules
                 Key: FLEX-34083
                 URL: https://issues.apache.org/jira/browse/FLEX-34083
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: DataGrid
    Affects Versions: Apache Flex 4.11.0
         Environment: Any
            Reporter: David Welch


Using a Spark Datagrid with a GridItemRenderer for a column, and the component is loaded as
a module (s:module), causes an #1009 RTE.

See also:  http://forums.adobe.com/message/4545734

Tried the workaround of setting "myModule.moduleFatory=null" on the creationComplete event,
but, this did not work.

Tried with both 4.11 and 4.12.

Trace is below:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at spark.components::Group/addElement()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\Group.as:1421]
	at spark.components.gridClasses::GridViewLayout/createTypicalItemRenderer()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\gridClasses\GridViewLayout.as:1241]
	at spark.components.gridClasses::GridViewLayout/updateTypicalCellSizes()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\gridClasses\GridViewLayout.as:1374]
	at spark.components.gridClasses::GridViewLayout/measure()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\gridClasses\GridViewLayout.as:875]
	at spark.components.supportClasses::GroupBase/measure()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1156]
	at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\core\UIComponent.as:9038]
	at mx.core::UIComponent/validateSize()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\core\UIComponent.as:8962]
	at spark.components::Group/validateSize()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\Group.as:1074]
	at mx.managers::LayoutManager/validateSize()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\managers\LayoutManager.as:673]
	at mx.managers::LayoutManager/doPhasedInstantiation()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\managers\LayoutManager.as:824]
	at mx.managers::LayoutManager/validateNow()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\managers\LayoutManager.as:886]
	at spark.components::Application/resizeHandler()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\Application.as:2070]
	at spark.components::Application/commitProperties()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\spark\src\spark\components\Application.as:1594]
	at mx.core::UIComponent/validateProperties()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\core\UIComponent.as:8751]
	at mx.managers::LayoutManager/validateProperties()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\managers\LayoutManager.as:605]
	at mx.managers::LayoutManager/doPhasedInstantiation()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\managers\LayoutManager.as:821]
	at mx.managers::LayoutManager/doPhasedInstantiationCallback()[F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1188]




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message