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

[Printing]Cancelling a printjob causes runtime error:(ArgumentError: Error #2004: One of the parameters is invalid.) to be thrown when the runtime is air

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • Print Management
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1.Create an air project with the files in the bug folder
      2. Compile and run it
      3. In the air window, press the button with label "click to print".
      4. In the print dialog box, press cancel button

      Actual Results:Run time error: ArgumentError: Error #2004: One of the parameters is invalid.
      at flash.display::Graphics/drawRect()
      at mx.skins::RectangularBorder/http://www.adobe.com/2006/flex/mx/internal::adjustBackgroundImage()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\skins\RectangularBorder.as:374]
      at mx.core::Container/mx.core:Container::scrollChildren()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\core\Container.as:4693]
      at mx.core::Container/validateDisplayList()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\core\Container.as:2788]
      at mx.core::WindowedApplication/validateDisplayList()[E:\dev\flex\sdk\frameworks\projects\airframework\src\mx\core\WindowedApplication.as:1677]
      at mx.managers::LayoutManager/mx.managers:LayoutManager::validateDisplayList()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:600]
      at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:673]
      at mx.managers::LayoutManager/validateNow()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:726]
      at mx.printing::FlexPrintJob/addObject()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\printing\FlexPrintJob.as:454]
      at TestPostClass/buttonClick()[/Users/subhasubramanian/Documents/Flex Builder 3/TestPostClass/src/TestPostClass.mxml:64]
      at TestPostClass/__button1_click()[/Users/subhasubramanian/Documents/Flex Builder 3/TestPostClass/src/TestPostClass.mxml:24]

      Expected Results:no runtime error

      Workaround (if any):

      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: