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

Unloading a swf that includes a ViewStack can cause a RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Sample Apps
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce in Flex Explorer:
      1. Compile the explorer samples
      2. Run explorer.html
      3. Select the LinkButton Sample

      Steps to reproduce in the bugfile:
      1. Run testLinkButton.swf
      2. Alternate clicking the two buttons at the bottom which switches the source of the SWFLoader.
      You will eventually get a RTE after unloading the ViewStack application a few times.

      Actual Results: RTE -
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers::HistoryManagerImpl/calcCRC()
      at mx.managers::HistoryManagerImpl()
      at mx.managers::HistoryManagerImpl$/getInstance()
      at mx.core::Singleton$/getInstance()
      at mx.managers::HistoryManager$/get impl()
      at mx.managers::HistoryManager$/unregister()
      at mx.containers::ViewStack/removedFromStageHandler()
      at flash.display::Loader/_unload()
      at flash.display::Loader/unload()
      at mx.controls::SWFLoader/load()
      at mx.controls::SWFLoader/commitProperties()
      at mx.core::UIComponent/validateProperties()
      at mx.managers::LayoutManager/validateProperties()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()
      at mx.core::UIComponent/callLaterDispatcher()

      Expected Results: no RTE

      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: