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

IModuleInfo's factory create method returning null on rapid module loading/unloading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.2 (Release)
    • None
    • Modules
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Retrieve an IModuleInfo from a data structure that maintains all outstanding IModuleInfo in the application (loaded modules).
      info:IModuleInfo = ... // an IModuleInfo that is loaded (has not been unloaded)

      2. call the factory create method to instantiate a module
      var instance:Object = info.factory.create();

      3. Check if the instance is a module – It usually is, and is supposed to be one

      4. Repeat this process rapidly

      Actual Results:

      The instance will occasionally be null.

      Expected Results:

      The instance is always a valid module

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: