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

Menubar throws null error when using a custom menu render and the first item has children. (Works in Flex 2)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • mx: Menu Bar
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Run application
      2. Click on menubar
      3. Select first menu item (which has children)
      4 If no error mouse over menubar
      5. Select first menu item (which has children) again

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.controls.listClasses::ListBase/drawItem()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:4906]
      at mx.controls::Menu/drawItem()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1202]
      at mx.controls::Menu/hide()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1511]
      at mx.controls::Menu/http://www.adobe.com/2006/flex/mx/internal::hideAllMenus()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:2178]
      at mx.controls::Menu/focusOutHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1265]

      Expected Results:
      No null error

      Workaround (if any):
      None

      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: