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

mx.rpc.AbstractService throws error when setting managers property to null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Adobe Flex SDK 3.4 (Release)
    • None
    • RPC: General
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. create an instance of mx.rpc.AbstractService or any of its subclasses
      2. set the managers property to null

      Actual Results:

      • a runtime error (NPE) is thrown

      Expected Results:

      • no error expected

      There is no check in the "managers" setter to see if the mgrs parameter is null. A simple null check would fix this small issue.

      This issue is present in SDK 3.4 and 4.0.

      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: