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

Showing an Alert on creationComplete of WindowedApplication gives RTE

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create an AIR project with SDK 4.0.0_6260
      2. Run the attached application
      3.

      Actual Results: Gives an RTE
      TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::FlexNativeMenu@afe9061 to flash.display.DisplayObject.
      at mx.managers.layoutClasses::PriorityQueue/removeLargestChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:195]
      at mx.managers::LayoutManager/validateClient()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:982]
      at mx.core::UIComponent/validateNow()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6881]
      at mx.core::UIComponent/creationCompleteHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:10438]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:11262]
      at mx.core::UIComponent/set initialized()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:1513]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:757]

      Expected Results:
      No RTE.

      Workaround (if any): None

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment