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

Exceptions when flash player loses focus and gets back

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Focus Manager
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Create an instance of a component(ex. Image) and put on stage.
      2. Run the app
      3. Click outside the app, i.e. lose focus of flash app by clicking on some other window, then click back on the component.

      Note: This bug is a bit hard to reproduce.

      Actual Results:
      A runtime error is thrown, with the following stack trace:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers.marshalClasses::FocusManagerMarshalMixin/getTopLevelFocusTargetHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\marshalClasses\FocusManagerMarshalMixin.as:311]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers::FocusManager/getTopLevelFocusTarget()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\FocusManager.as:1445]
      at mx.managers::FocusManager/mouseDownHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\FocusManager.as:1870]

      Expected Results:
      The app should get focus without any exceptions.

      Workaround (if any):
      None.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: