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

Null reference in the focusInHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 4.5.1 (Release)
    • Apache Flex 4.10.0
    • Spark: Scroller
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Language Found: English

    Description

      You can test it in the test application I appended.

      Steps to reproduce:
      1. Create a List with buttons in the ItemRenderer
      2. Dispatch an event with the click on the button
      3. In the main application listen for this event and change the state
      4. Switch to another window and back to the application

      Actual Results:
      A null reference error is thrown in the focusInHandler of the Scroller class because the focusManager is null and there is no check if it isn't null.

      Expected Results:
      No error should be thrown.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: