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

FocusManager throws a NullPointer exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK 3.4 (Release)
    • None
    • Focus Manager
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      this bug is hard to reproduce in simple project but it easy to fix :

      at "focusInHandler" function in FocusManager class, at line 601 the "_defaultButton.emphasized" is setted to true

      Actual Results:

      "_defaultButton" can be null, a NullPointer exception is thrown

      Expected Results:

      verify existence of "_defaultButton" before setting its "emphasized" property

      like

      if (_defaultButton) {
      _defaultButton.emphasized = true;
      }

      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: