Skip navigation
Currently Being Moderated

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

Nov 23, 2009 1:40 PM

 

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

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

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

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

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

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

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

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

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

                at mx.binding::PropertyWatcher/eventHandler()[E:\dev\trunk\frameworks\pr ojects\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\core\UIComponent.as:12140]

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

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

                at spark.components::DataGroup/setUpItemRenderer()[E:\dev\trunk\framewor ks\projects\spark\src\spark\components\DataGroup.as:793]

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

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

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

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

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

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

                at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\tru nk\frameworks\projects\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

 
Replies
  • Currently Being Moderated
    Nov 23, 2009 2:27 PM   in reply to DilipShah

    Error #1056 - You are trying to assign a value to a nonexistent property on an instance of a non-dynamic       class. This is only possible for instances of dynamic classes.

     

    Referenced from:

     

    http://livedocs.adobe.com/flex/3/langref/runtimeErrors.html

     

    Hope this helps.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points