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

Spark DropDownList throws RTE when trying to change data provider and open dropdown and use mouse wheel

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK 4.5 (Release)
    • Fix Version/s: None
    • Component/s: Spark: DropDownList
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Language Found: English

      Description

      Found in 4.0.0.13963 (branch) and 4.5.0.14047 (trunk).

      Steps to reproduce:
      1. Compile and run attached MXML file.
      2. Change the NumericStepper to 6.
      3. Scroll ye mouse wheel.

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.components.supportClasses::DropDownController/systemManager_mouseWheelHandler()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\supportClasses\DropDownController.as:631]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:12269]
      at mx.managers::SystemManager/mouseWheelHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2689]

      Expected Results:
      No RTE.

      Workaround (if any):
      // ddl2.openDropDown(); // bug
      callLater(ddl2.openDropDown); // workaround

        Attachments

          Activity

            People

            • Assignee:
              adobejira Adobe JIRA
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: