2 Replies Latest reply: Nov 23, 2009 3:05 PM by DilipShah RSS

    ReferenceError: Error #1056 - Has anyone come across this error?

    DilipShah Community Member

       

      ReferenceError: Error #1056: Cannot create property text on spark.components.DataGroup.

                      at mx.binding::Binding/defaultDestFunc()[E:\dev\trunk\frameworks\projects\framework\src\mx\b inding\Binding.as:270]

                      at Function/http://adobe.com/AS3/2006/builtin::call()

                      at mx.binding::Binding/innerExecute()[E:\dev\trunk\frameworks\projects\framework\src\mx\bind ing\Binding.as:473]

                      at Function/http://adobe.com/AS3/2006/builtin::apply()

                      at mx.binding::Binding/wrapFunctionCall()[E:\dev\trunk\frameworks\projects\framework\src\mx\ binding\Binding.as:385]

                      at mx.binding::Binding/execute()[E:\dev\trunk\frameworks\projects\framework\src\mx\binding\B inding.as:321]

                      at mx.binding::Binding/watcherFired()[E:\dev\trunk\frameworks\projects\framework\src\mx\bind ing\Binding.as:499]

                      at mx.binding::Watcher/notifyListeners()[E:\dev\trunk\frameworks\projects\framework\src\mx\b inding\Watcher.as:311]

                      at mx.binding::PropertyWatcher/eventHandler()[E:\dev\trunk\frameworks\projects\framework\src \mx\binding\PropertyWatcher.as:377]

                      at flash.events::EventDispatcher/dispatchEventFunction()

                      at flash.events::EventDispatcher/dispatchEvent()

                      at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\co re\UIComponent.as:12140]

                      at spark.components::DataRenderer/set data()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\DataRenderer.as:122]

                      at spark.components::DataGroup/updateRenderer()[E:\dev\trunk\frameworks\projects\spark\src\s park\components\DataGroup.as:819]

                      at spark.components::DataGroup/setUpItemRenderer()[E:\dev\trunk\frameworks\projects\spark\sr c\spark\components\DataGroup.as:793]

                      at spark.components::DataGroup/http://www.adobe.com/2006/flex/mx/internal::itemAdded()[E:\dev\trunk\frameworks\projects\s park\src\spark\components\DataGroup.as:1316]

                      at spark.components::DataGroup/initializeDataProvider()[E:\dev\trunk\frameworks\projects\spa rk\src\spark\components\DataGroup.as:609]

                      at spark.components::DataGroup/commitProperties()[E:\dev\trunk\frameworks\projects\spark\src \spark\components\DataGroup.as:722]

                      at mx.core::UIComponent/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\ mx\core\UIComponent.as:7684]

                      at mx.managers::LayoutManager/validateProperties()[E:\dev\trunk\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]

                      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:730]

                      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\trunk\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1069]

       

      This error is generated by the following code in the item renderer:

                        <s:Label id="owner"

                                    text="{(data.member as MemberVO).name}"

                                    />

       

      I’ve examines the data provider array collection and from what I can tell, all is as expected!

       

      I'm using Flex 4, nightly build 11921 in Windows XP environment