[ 
https://issues.apache.org/jira/browse/FLEX-33704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757898#comment-13757898
 ] 

Alex Harui commented on FLEX-33704:
-----------------------------------

Did you use amxmlc instead of mxmlc or add the +configname=air option to mxmlc?
                
> AIR projects cause 'java.lang.NullPointerException
> --------------------------------------------------
>
>                 Key: FLEX-33704
>                 URL: https://issues.apache.org/jira/browse/FLEX-33704
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Falcon
>    Affects Versions: Apache Falcon 1.0
>            Reporter: Erik de Bruin
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to