3 Replies Latest reply on Nov 25, 2009 12:22 PM by roB-2009

    TypeError: Error #1009:

    roB-2009

      Hi there,

      I'm very new on Flex and was kicked in an project, to compile a new Flex locales, and of cause I have some trouble with my imported Flex Project. I hope someone can give me an hint how to fix this errors..

       

      Ok. 1. I imported the project, clean it and rebuild it - no errors.

       

      2. I up it to the server and fire it .. I got this message:

       


      TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.
      at mx.managers::CursorManagerImpl/showCurrentCursor()
      at mx.managers::CursorManagerImpl/setCursor()
      at mx.managers::CursorManagerImpl/setBusyCursor()
      at mx.managers::CursorManager$/setBusyCursor()
      at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
      at mx.rpc.http::HTTPService/send()
      at mx.rpc.http.mxml::HTTPService/send()
      at com.kaltura.contributionWizard.business::WizardCon  figDelegate/getWizardConfiguration()
      at com.kaltura.contributionWizard.command::GetWizardC  onfigCommand/execute()
      at com.adobe_cw.adobe.cairngorm.control::FrontControl  ler/executeCommand()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at com.adobe_cw.adobe.cairngorm.control::CairngormEve  ntDispatcher/dispatchEvent()
      at com.adobe_cw.adobe.cairngorm.commands::SequenceCom  mand/executeNextCommand()
      at com.kaltura.contributionWizard.command::SaveInject  edDataCommand/setContext()
      at com.kaltura.contributionWizard.command::SaveInject  edDataCommand/execute()
      at com.adobe_cw.adobe.cairngorm.control::FrontControl  ler/executeCommand()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at com.adobe_cw.adobe.cairngorm.control::CairngormEve  ntDispatcher/dispatchEvent()
      at com.adobe_cw.adobe.cairngorm.control::CairngormEve  nt/dispatch()
      at ContributionWizard/dispatchStartupSequence()
      at ContributionWizard/onCreationComplete()
      at ContributionWizard/___ContributionWizard_KApplication1_creationComple  te()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at mx.core::UIComponent/set initialized()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()
      at mx.core::UIComponent/callLaterDispatcher()

       

       

      Where I have to look for, to solve the problem? Are this components not included in the swf or is something missing in code? What means this message?

      My source was that project:

      http://www.kaltura.org/project/kcw

       

      Hope someone can help me a little bit, to understand this message.

        • 1. Re: TypeError: Error #1009:
          Flex harUI Adobe Employee

          Try using a debug build (and without RSLs) so we can get line numbers with the error.

           

          Alex Harui

          Flex SDK Developer

          Adobe Systems Inc.

          Blog: http://blogs.adobe.com/aharui

          • 2. Re: TypeError: Error #1009:
            roB-2009 Level 1

            Hi Alex,

            I don't know  how to make a debug build - yet :-)

             

            I compile the project without embedding the lib - the filesize  reduced to a half and I got the same ERROR. I was looking for some classes? of my error code and I can't find their call in the project files. What means this?

             

            If I searched for this:

             

            mx.managers::CursorManagerImpl/showCurrentCursor()

             

            I found only this:

             

            mx.managers::CursorManager - no "Impl" ??

            • 3. Re: TypeError: Error #1009:
              roB-2009 Level 1

              Could someone give me a hint how to search this bug... I decompiled the swf and there are packages missing... Why are the packages not  included?

              How to find the reason for this? In debug mode I got not errors, that something is missing..

               

              Try using a debug build (and without RSLs) so we can get line numbers with the error.

              What are RSL's - how I get the line numbers.

               

              ... this is driving me crazy..