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

Alert or any popup is showing a "Type Coercion failed: cannot convert mx.managers::PopUpManagerImpl@b37fa01 to mx.managers.IPopUpManager" error when the screen is called from the resultevent function.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • mx: Alert
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1.Create a first page with only swf loader a swf loader and load a login page.
      2.Write a function with resultevent argument and using <mx:httpservice>. call a screen2 from the resultevent event function, and place a alert on the screen2.
      3.Showing teh below error fopr alert, date picker and popupbutton

      Actual Results:

      TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::PopUpManagerImpl@b37fa01 to mx.managers.IPopUpManager.
      at mx.managers::PopUpManager$/get impl()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:68]
      at mx.managers::PopUpManager$/addPopUp()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:169]
      at mx.controls::Alert$/show()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Alert.as:507]
      at UserRegistration/show()[C:\Documents and Settings\sumo\My Documents\Flex Builder 3\OD\src\UserRegistration.mxml:18]
      at UserRegistration/__btn_click()[C:\Documents and Settings\sumo\My Documents\Flex Builder 3\OD\src\UserRegistration.mxml:79]

      Expected Results:
      Should show athe aler date picker and other popups.

      Workaround (if any):
      I have attached the mxml source files.

      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: