Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15533

You get a RTE when trying to access properties on the lastResult property in the result handler of an HTTPService.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • RPC: HTTPService
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Load the bugfile which calls send() on an HTTPService on the creationComplete event.

      The result handler of this application looks like this -
      private function setDP2(event:ResultEvent): void

      { fnm.dataProvider = menuXML.lastResult.AllStuff.Food; }

      Actual Results: Runtime error -
      ReferenceError: Error #1069: Property AllStuff not found on String and there is no default value.
      at Menu_Properties_Main/setDP2()
      at Menu_Properties_Main/__menuXML_result()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
      at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
      at mx.rpc::Responder/result()
      at mx.rpc::AsyncRequest/acknowledge()
      at DirectHTTPMessageResponder/completeHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/onComplete()

      Expected Results: no error

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: