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

generated actionscript file with syntax error: expeting rightbrace before end of program

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. run flexunitAutomation test
      a. sync perforce (//depot/flex/qa/sdk/testsuites/webapps/
      and //depot/flex/qa/lib, //depot/flex/qa/sdk/servers)
      b. set up sdk.dir property in //depot/flex/qa/build.properties file to your sdk folder
      c. copy webtier.war from same sdk build, put it under //depot/flex/qa/sdk/dist folder
      d. run test by running:
      //depot/flex/qa/sdk/testsuites/webapps/qa-regress/ant -Dfeature=webService flexunitAutomation

      Actual Results:
      test fails, monitor tomcat, you will see following:

      06/23 15:54:53 ERROR _ws_datatypes_generated_runner_FlexInit-generated.as:160
      Syntax error: expecting rightbrace before end of program.

      06/23 15:54:53 WARNING Skipping source code snippet because '_ws_datatypes_gener
      ated_runner_FlexInit-generated.as' could not be loaded.

      when I enable keep-generated-actionscript=true, I see the files generated have issue for the line print out. the generated statements are something like this:

      include "D:/depot/flex/qa/sdk/testsuites/webapps/qa-regress/testsuites/flexunit/ws_general_generated_runner.mxml:9,71";

      for _ws_datatypes_generated_runner_FlexInit-generated.as, I see the rightbrace causes the issue. please see attached generated files.

      Expected Results:
      no error for generated files.

      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: