Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-30264

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • Adobe Flex SDK Previous
    • None
    • Framework Sync
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1.After compiling the application with automation libraries
      (-include libraries "${flexlib}/libs/automation.swc" "${flexlib}/libs/automation_agent.swc" "${flexlib}/libs/automation_dmv.swc" "${flexlib}/libs/qtp.swc")
      2.run the application
      3.while application is loading, getting the below error message -
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.automation::AutomationManager$/createDelegate()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:290]
      at mx.automation::AutomationManager$/childAddedHandler()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:205]
      at flash.display::DisplayObjectContainer/addChildAt()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChildAt()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:5083]
      at mx.core::UIComponent/addChild()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:4964]
      at com.voyager.vj.view.components.misc::MultilineButton/createChildren()[C:\dev\AppDev\vj\client\main\src\com\voyager\vj\view\components\misc\MultilineButton.as:43]
      at mx.core::UIComponent/initialize()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:5370]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:5267]
      at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\Container.as:3348]
      at mx.core::Container/addChildAt()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\Container.as:2260]
      at mx.core::Container/addChild()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\Container.as:2183]
      at com.voyager.vj.view.components.learn.dashboard.wordsetList::WordSetListRow/commitProperties()[C:\dev\AppDev\vj\client\main\src\com\voyager\vj\view\components\learn\dashboard\wordsetList\WordSetListRow.as:177]
      at mx.core::UIComponent/validateProperties()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:5807]
      at mx.managers::LayoutManager/validateProperties()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539]
      at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\LayoutManager.as:689]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:8733]
      at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:8673]

      Actual Results:
      Application is not loaded
      and getting error 1009

      Expected Results:
      Application is loaded

      Workaround (if any):
      None

      QTP Version - QTP 10.0
      Browser - ie8
      Flex - flex_sdk_4.0.0.14159

      Pleaselet me know if you need more info

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: