1 Reply Latest reply on Jul 15, 2010 12:21 AM by riatest

    Automation error

    Brett_Hartnett

      Hi,

       

      I could really use some help with this. I have a web application that I am trying to get RIATest to work with. When the application starts up I get "TypeError: Error #1009: Cannot access a property or method of a null object reference.". When I continue the RIATest panel comes up but there is no application listed in it.

       

      Here is the full message:

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

      at spark.automation.delegates.components::SparkApplicationAutomationImpl/getAutomationChildr en()[E:\dev\4.0.0\frameworks\projects\automation_spark\src\spark\automation\delegates\comp onents\SparkApplicationAutomationImpl.as:161]

      at mx.core::UIComponent/getAutomationChildren()[E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\core\UIComponent.as:12057]

      at mx.automation::AutomationManager/getAutomationChildrenArray()[C:\work\flex\dmv_automation \projects\automation\src\mx\automation\AutomationManager.as:4821]

      at com.riatest::CachedAutomationManager2/getAutomationChildrenArray()[C:\WORK\RIATest3\Sourc e\agent4\com\riatest\CachedAutomationManager2.as:54]

      at mx.automation::AutomationManager/getChildrenRecursively()[C:\work\flex\dmv_automation\pro jects\automation\src\mx\automation\AutomationManager.as:1198]

      at mx.automation::AutomationManager/getChildren()[C:\work\flex\dmv_automation\projects\autom ation\src\mx\automation\AutomationManager.as:1171]

      at com.riatest::CachedAutomationManager2/getChildren()[C:\WORK\RIATest3\Source\agent4\com\ri atest\CachedAutomationManager2.as:46]

      at com.riatest.toolbar::DisplayListTreeDataDescriptor/getChildren()[C:\WORK\RIATest3\Source\ agent4\com\riatest\toolbar\DisplayListTreeDataDescriptor.as:71]

      at com.riatest.toolbar::DisplayListTreeDataDescriptor/hasChildren()[C:\WORK\RIATest3\Source\ agent4\com\riatest\toolbar\DisplayListTreeDataDescriptor.as:103]

      at com.riatest.toolbar::DisplayListTreeDataDescriptor/isBranch()[C:\WORK\RIATest3\Source\age nt4\com\riatest\toolbar\DisplayListTreeDataDescriptor.as:108]

      at mx.controls::Tree/isBranch()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\controls\T ree.as:1547]

      at mx.controls::Tree/initListData()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\contro ls\Tree.as:2853]

      at mx.controls::Tree/makeListData()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\contro ls\Tree.as:1328]

      at mx.controls::List/http://www.adobe.com/2006/flex/mx/internal::setupRendererFromData()[E:\dev\4.0.0\framework s\projects\framework\src\mx\controls\List.as:1696]

      at mx.controls::List/commitProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co ntrols\List.as:895]

      at mx.controls::Tree/commitProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co ntrols\Tree.as:1189]

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

      at mx.managers::LayoutManager/validateClient()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:863]

      at mx.core::UIComponent/validateNow()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core \UIComponent.as:7631]

      at mx.managers::PopUpManagerImpl/centerPopUp()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\managers\PopUpManagerImpl.as:485]

      at mx.managers::PopUpManager$/centerPopUp()[E:\dev\4.0.0\frameworks\projects\framework\src\m x\managers\PopUpManager.as:213]

      at com.riatest.toolbar::RtToolBar/setInitPos()[C:\WORK\RIATest3\Source\agent4\com\riatest\to olbar\RtToolBar.mxml:374]

      at com.riatest::AgentCore$/centerToolBar()[C:\WORK\RIATest3\Source\agent4\com\riatest\AgentC ore.as:109]

      at flash.utils::Timer/_timerDispatch()

      at flash.utils::Timer/tick()

      Thanks,