2 Replies Latest reply on May 10, 2010 9:38 AM by _kartik_

    ArgumentError: Error #2085: Parameter aliasName must be non-empty string.


      hi -

        I started getting this error today from an application I am developing using FlashBuilder 4. Here's the full stack trace (bold text replaced the actual appname):


      ArgumentError: Error #2085: Parameter aliasName must be non-empty string.
          at global/flash.net::registerClassAlias()
          at _{appName}_FlexInit$/init()
          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:2620]
          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()



      Looks like the the flash vm tries to load & initialize my application, but fails. I cant seem to figure out why this is happening?  It was working last week.

      Few things that could have changed:

        a) our company updates the flash runtime to patch any vulnerabilities, that may have caused something? ( i tried in FF, IE, and Chrome...same err.)

        b) my code updates...but i swear the changes were done further along in the screens...and this error occurs when the app is just getting started.


      Appreciate any help/insight...thanks in advance.

      [k s]