0 Replies Latest reply on Jul 9, 2010 10:01 PM by craigmurray100

    Problem with AIR2.5 and Flex4SDK, chrome

    craigmurray100

      I have an application that builds and runs fine when compiled with Flex 4.0.0 and AIR 1.5.3.

       

      As soon as I switch to Flex 4.0.0 with AIR 2.5 I get failures in the WindowedApplication.

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at spark.components::WindowedApplication/initialize()[E:\dev\4.0.0\frameworks\projects\airsp ark\src\spark\components\WindowedApplication.as:1831]
          at Client_AS3_APK/initialize()
          at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.0.0\frameworks\projects\fra mework\src\mx\managers\systemClasses\ChildManager.as:189]
          at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.0.0\framework s\projects\framework\src\mx\managers\systemClasses\ChildManager.as:341]
          at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.0.0\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:2810]
          at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.0.0\frameworks\projects\fra mework\src\mx\managers\SystemManager.as:2637]
          at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.0.0\frame works\projects\framework\src\mx\managers\SystemManager.as:2539]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.preloaders::Preloader/timerHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \preloaders\Preloader.as:515]
          at flash.utils::Timer/_timerDispatch()
          at flash.utils::Timer/tick()