I am trying to create a new set of components with FlexJS.  I am following
the pattern set by the jquery application here [1],[2].  I created a new
manifest file with the one component I am testing(Application), updated
flex-config.xml to include a new namespace.  Then, I am creating a new
application with the root Application tag based on the new namespace.

The default mxml compiler does not show any problems.  But when I compile
it with the Falcon compiler, I am getting this error:

Loading configuration:
C:\p\flex_os\workspace\FlexJS\FlexJSSDK\frameworks\flex-config.xml

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)


Is there something obvious that I am missing?  If not, I will clean up my
code and check it in (into a branch perhaps?)

Thanks,
Om

[1]
https://fisheye6.atlassian.com/browse/flex-asjs/frameworks/as/src/org/apache/flex/jquery
[2]
https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jquery

Reply via email to