4 Replies Latest reply on Jul 22, 2011 12:40 AM by lsharma1064

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

    lsharma1064 Level 1

      Hello all,

       

      I am new to cirrus and flex programming.I followed the below steps

       

      Downloaded the code

      Set the webservice url and developer key

      install the flex builder

      run the project

      ALL WORKED FINE TILL HERE. I CAN TXT CHAT VIDEO CHAT EVERYTHING IS WORKING FINE

       

      Now i tried to integrate in iis. It works fine i double the VideoPhoneLabs.html file. But if i use http://localhost/test/VideoPhoneLabs.html it gives me the below error

      Connecting to rtmfp://p2p.rtmfp.net
      NetConnection event: NetConnection.Connect.Success
      Connected, my ID: a35ce080cbb0eeb848b0f5920a4d6373a97441cefd361d81941858a447dff4f4
      ID event: idManagerError
      Error description: HTTP error: (mx.messaging.messages::ErrorMessage)#0
        body = (null)
        clientId = "DirectHTTPChannel0"
        correlationId = "54A15D13-C9F7-2216-71E1-4F1FE1F4845C"
        destination = ""
        extendedData = (null)
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        headers = (Object)#1
          DSStatusCode = 0
        messageId = "4C7C6223-1203-3FB4-DE4E-4F1FE213954D"
        rootCause = (flash.events::SecurityErrorEvent)#2
          bubbles = false
          cancelable = false
          currentTarget = (flash.net::URLLoader)#3
            bytesLoaded = 0
            bytesTotal = 0
            data = (null)
            dataFormat = "text"
          eventPhase = 2
          target = (flash.net::URLLoader)#3
          text = "Error #2048: Security sandbox violation: http://localhost/test/VideoPhoneLabs.swf cannot load data from http://192.168.0.209/cgi/reg.cgi?&username=shaun&identity=a35ce080cbb0eeb848b0f5920a4d6373 a97441cefd361d81941858a447dff4f4."
          type = "securityError"
        timestamp = 0
        timeToLive = 0
      Disconnecting.
      Hanging up call