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

AIR projects cause 'java.lang.NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • Apache Falcon 1.0
    • None
    • Falcon
    • None

    Description

      When trying to compile 'any' AIR project, I get:

      Internal error: java.lang.NullPointerException
      at org.apache.flex.compiler.internal.targets.FlexAppSWFTarget$FlexDelegate.isFlexInfo(FlexAppSWFTarget.java:977)
      at org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilationUnitsToLink(FlexAppSWFTarget.java:460)
      at org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(Target.java:297)
      at org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSet(Target.java:306)
      at org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:228)
      at org.apache.flex.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:658)
      at org.apache.flex.compiler.clients.MXMLC.buildArtifact(MXMLC.java:644)
      at org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:525)
      at org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:214)
      at org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:182)
      at org.apache.flex.compiler.clients.MXMLC.staticMainNoExit(MXMLC.java:154)
      at org.apache.flex.compiler.clients.MXMLC.main(MXMLC.java:141)

      You can easily reproduce this by creating a new AIR project in Flash Builder and try to compile it with Falcon.

      Attachments

        Activity

          People

            Unassigned Unassigned
            erik@ixsoftware.nl Erik de Bruin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: