0 Replies Latest reply on Dec 14, 2010 2:48 PM by bapilado96

    Error 1009 compiling in automation_air or automation_airspark library

    bapilado96

      Hello,

       

      While attempting to use the Flex automation framework, I am running into problems starting the application.

       

      Out of the all of the libraries found under ./libs/automation, the these two libraries give the same error pasted below.  This occurs of I utilize one or both of the suspect libraries in any combination of the other libraries.

       

      The libraries in question are:


      <library>libs/automation/automation_air.swc</library>

      <library>libs/automation/automation_airspark.swc</library>

       

      Here is the error copied from the error dialog:

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\hero_private_beta\frameworks\ projects\framework\src\mx\managers\SystemManager.as:2702]
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\hero_privat e_beta\frameworks\projects\framework\src\mx\managers\SystemManager.as:2610]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private_beta\frameworks\projects\fram ework\src\mx\preloaders\Preloader.as:539]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

       

      The application is an AIR application based on Flex 4.5.

       

      For troubleshooting, I took the swc from previous released 4.x versions and compiled it into the application.  The error above is still given.  I do not see any errors during compilation.  The 1009 error given above only appears when I attempt to start the application.