Se esta querendo aprender ou iniciar novos projetos em Flex, clique aqui

Me deparei agora com uma das maiores listas de erros.

TypeError: Error #1009: Não é possível acessar uma propriedade ou um método de uma referência de objeto nula.
	at mx.containers::FormItem/commitProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\FormItem.as:527]
	at mx.core::UIComponent/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:7019]
	at mx.managers::LayoutManager/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
	at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:700]
	at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1067]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:11260]
	at com.eduardokraus.view::Login/set editUSUARIO_SENHA()
	at mx.core::UIComponent/createReferenceOnParentDocument()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:10111]
	at mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4250]
	at mx.core::Container/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4082]
	at mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
	at mx.containers::FormItem/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\FormItem.as:497]
	at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
	at mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
	at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
	at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
	at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
	at mx.containers::Form/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\Form.as:309]
	at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
	at mx.containers::Form/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\Form.as:298]
	at mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
	at mx.core::Container/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4082]
	at mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
	at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
	at mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
	at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
	at mx.core::UIComponent/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6109]
	at spark.components::Group/addItemToDisplayList()[E:\dev\beta1\frameworks\projects\flex4\src\spark\components\Group.as:1656]
	at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\beta1\frameworks\projects\flex4\src\spark\components\Group.as:1217]
	at spark.components::Group/addElementAt()[E:\dev\beta1\frameworks\projects\flex4\src\spark\components\Group.as:1021]
	at mx.states::AddItems/addItemsToContentHolder()[E:\dev\beta1\frameworks\projects\framework\src\mx\states\AddItems.as:677]
	at mx.states::AddItems/apply()[E:\dev\beta1\frameworks\projects\framework\src\mx\states\AddItems.as:523]
	at mx.core::UIComponent/applyState()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:9162]
	at mx.core::UIComponent/commitCurrentState()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:8933]
	at mx.core::UIComponent/setCurrentState()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:8834]
	at mx.core::UIComponent/set currentState()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:5388]
	at com.eduardokraus.view::Login/labelbutton1_clickHandler()[W:\apache\www\flex4\KR_Eva\src\com\eduardokraus\view\Login.mxml:106]
	at com.eduardokraus.view::Login/___Login_LabelButton2_click()[W:\apache\www\flex4\KR_Eva\src\com\eduardokraus\view\Login.mxml:212]

Causado pelo validador de senha, que criei baseado no mx:TextInput estava usando o s:TextInput

Gostou? Não esqueça de curtir!

Ou compartilhe o link com seus amigos

Nenhum comentário

Deixe uma resposta