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

Sub applications, compiled with marshalling support, which load windows cause RTE exceptions when opening a basic ComboBox

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5 (Release)
    • None
    • None
    • Affected OS(s): Mac
      Affected OS(s): Mac OS 10.6
      Language Found: English

    Description

      Steps to reproduce:
      1.Unzip the attachment
      2. Import both projects into Flash Builder
      3. Start a debug session with ParentApplication (SubApplication.swf has already been copied to the bin-debug folder)
      4. Click the button to create the window.
      5. Open the spark ComboBox on top, this should work as expected
      6. Open the mx ComboBox on the bottom, which throws the RTE

      Actual Results:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers.systemClasses::MarshallingSupport/getVisibleApplicationRectHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2256]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers::WindowedSystemManager/getVisibleApplicationRect()[E:\dev\hero_private\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:1382]
      at mx.controls::ComboBox/displayDropdown()[E:\dev\hero_private\frameworks\projects\mx\src\mx\controls\ComboBox.as:1771]
      at mx.controls::ComboBox/downArrowButton_buttonDownHandler()[E:\dev\hero_private\frameworks\projects\mx\src\mx\controls\ComboBox.as:2027]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
      at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::buttonPressed()[E:\dev\hero_private\frameworks\projects\mx\src\mx\controls\Button.as:2483]
      at mx.controls::Button/mouseDownHandler()[E:\dev\hero_private\frameworks\projects\mx\src\mx\controls\Button.as:2744]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
      at mx.managers::WindowedSystemManager/mouseEventHandler()[E:\dev\hero_private\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:2344]

      Expected Results: The ComboBox would open as usual

      Workaround (if any):

      Remove the the compiler flag: -includes=mx.managers.systemClasses.MarshallingSupport from SubApplication, or always use the Spark components.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: