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

IllegalStateException when app is compiled using compatibility version 3.0.0 and RSLs are turned On

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Run attached build file against a SDK build zip (which has RSLs turned ON)
      use command:

      ant -DsdkDir=<path to sdk root> -DflexTaskPath=<path top folder containing flextasks.jar>

      you may have to rename the xml file to build.xml if buildfile= doesn't work.

      Actual Results:
      [mxmlc] Error: codegenCdRslList: swc not resolved, libs/spark.swc
      [mxmlc]
      [mxmlc] java.lang.IllegalStateException: codegenCdRslList: swc not resolved, libs/spark.swc
      [mxmlc] at flex2.tools.PreLink.codegenDigestArrays(PreLink.java:1143)
      [mxmlc] at flex2.tools.PreLink.codegenCdRslList(PreLink.java:1109)
      [mxmlc] at flex2.tools.PreLink.codegenInfo(PreLink.java:1832)
      [mxmlc] at flex2.tools.PreLink.codegenModuleFactory(PreLink.java:1522)
      [mxmlc] at flex2.tools.PreLink.processLoaderClass(PreLink.java:991)
      [mxmlc] at flex2.tools.PreLink.postRun(PreLink.java:121)
      [mxmlc] at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1562)
      [mxmlc] at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1375)
      [mxmlc] at flex2.tools.Mxmlc.mxmlc(Mxmlc.java:287)
      [mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [mxmlc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [mxmlc] at java.lang.reflect.Method.invoke(Method.java:585)
      [mxmlc] at flex.ant.FlexTask.executeInProcess(FlexTask.java:280)
      [mxmlc] at flex.ant.FlexTask.execute(FlexTask.java:225)
      [mxmlc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [mxmlc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [mxmlc] at java.lang.reflect.Method.invoke(Method.java:585)
      [mxmlc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
      [mxmlc] at org.apache.tools.ant.Target.execute(Target.java:357)
      [mxmlc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [mxmlc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [mxmlc] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
      [mxmlc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [mxmlc] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [mxmlc] at org.apache.tools.ant.Main.runBuild(Main.java:698)
      [mxmlc] at org.apache.tools.ant.Main.startAnt(Main.java:199)
      [mxmlc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      [mxmlc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

      Expected Results:
      NO Exception.

      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: