You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by OmPrakash Muppirala <bi...@gmail.com> on 2013/09/21 11:35:45 UTC

[FlexJS] Falcon compiler errors - need help

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

Re: [FlexJS] Falcon compiler errors - need help

Posted by Alex Harui <ah...@adobe.com>.
Please have your App class implement IFlexInfo.  It is likely that we
haven't upgraded the Jquery App since we added IFlexInfo.

-Alex

On 9/22/13 4:56 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>>
>> Does your app class implement IFlexInfo?
>>
>>
>It does not seem to implement it.  Although core.Application has an empty
>get info() function.  Are we supposed to override it in our sub classes?
>
>
>> If that doesn't solve it, send me the SWF and I'll look at it tomorrow
>> night.  I'm done for today.
>>
>
>This error is in the jquery example project that Peter checked in:
>https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jquery
>Canyou
>test with the source code from there?  Do you still need me to send
>you
>the swf?
>
>Thanks,
>Om
>
>
>>
>> -Alex
>
>
>
>
>
>On Sat, Sep 21, 2013 at 11:24 PM, OmPrakash Muppirala
><bi...@gmail.com>wrote:
>
>>
>>
>>
>> On Sat, Sep 21, 2013 at 9:00 PM, Alex Harui <ah...@adobe.com> wrote:
>>
>>> Either MXMLC compiled it last,
>>
>>
>> I am pretty sure that with my set up, this did not happen.
>>
>>
>>> or there is no defaults.css specified (or
>>> something else entirely).  Run a -link-report and if any _Styles class
>>>is
>>> generated.
>>>
>>
>> The link-report does not have any _Styles class reference.  There is a
>> defaults.css inside the FlexJSUI.swc, though.
>>
>> Thanks,
>> Om
>>
>>
>>>
>>> -Alex
>>>
>>> On 9/21/13 7:50 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>>>
>>> >Here is a new one.  I got a similar error in my new component set up,
>>>so
>>> I
>>> >tested the jquery example.  I am getting the same exact error there as
>>> >well:
>>> >
>>> >[SWF]
>>>
>>> 
>>>>C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_jquer
>>>>y\b
>>> >in-debug\jQuerySample_flexjs.swf
>>> >- 74,122 bytes after decompression
>>> >ReferenceError: Error #1065: Variable _jQuerySample_Styles is not
>>> defined.
>>> >    at flash.system::ApplicationDomain/getDefinition()
>>> >    at
>>>
>>> 
>>>>org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\p\flex_os\workspace
>>>>\fl
>>>
>>> 
>>>>exroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSVa
>>>>lue
>>> >sImpl.as:50]
>>> >    at
>>>
>>> 
>>>>org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\
>>>>fle
>>>
>>> 
>>>>xroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.
>>>>as:
>>> >58]
>>> >
>>> >Help please?
>>> >
>>> >Thanks,
>>> >Om
>>> >
>>> >
>>> >
>>> >On Sat, Sep 21, 2013 at 4:48 PM, OmPrakash Muppirala
>>> ><bi...@gmail.com>wrote:
>>> >
>>> >> On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com>
>>>wrote:
>>> >>
>>> >>> The code there says it can't resolve the base class for the MXML
>>>file.
>>> >>> How did you add your new component to the project?  The external
>>>tools
>>> >>> won't know about any changes you make to the FB Project Properties
>>>so
>>> >>>any
>>> >>> changes you do make have to be reflected in the External Tools
>>>Config.
>>> >>>
>>> >>>
>>> >> Thanks for the tip.  I hadn't updated the compile-config.xml to
>>>include
>>> >> the new namespaces' uri and manifest files.  I had assumed that it
>>>is
>>> >> sufficient to add it just in flex-config.xml.  Once I updated
>>> >> compile-config and ran ant to build the FlexJSUI.swc, my new
>>>component
>>> >>was
>>> >> included in the swc.
>>> >>
>>> >> On to my next hurdle, to actually see something on the screen :-)
>>> >>
>>> >> Thanks,
>>> >> Om
>>> >>
>>> >>
>>> >>
>>> >>>  -Alex
>>> >>>
>>> >>> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com>
>>> wrote:
>>> >>>
>>> >>> >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$FlexDeleg
>>>>>>>ate
>>> >>>>.is
>>> >>> >FlexInfo(FlexAppSWFTarget.java:977)
>>> >>> >    at
>>> >>>
>>> >>>
>>>
>>> 
>>>>>>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCo
>>>>>>>mpi
>>> >>>>lat
>>> >>> >ionUnitsToLink(FlexAppSWFTarget.java:460)
>>> >>> >    at
>>> >>>
>>> >>>
>>>
>>> 
>>>>>>>org.apache.flex.compiler.internal.targets.Target.buildAllCompilation
>>>>>>>Uni
>>> >>>>ts(
>>> >>> >Target.java:297)
>>> >>> >    at
>>> >>>
>>> >>>
>>>
>>> 
>>>>>>>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilation
>>>>>>>Uni
>>> >>>>tSe
>>> >>> >t(Target.java:306)
>>> >>> >    at
>>> >>>
>>> >>>
>>>
>>> 
>>>>>>>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.
>>>>>>>jav
>>> >>>>a:2
>>> >>> >28)
>>> >>> >    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:1
>>>>>>>54)
>>> >>> >    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/ap
>>> >>>ac
>>> >>> >he/flex/jquery
>>> >>> >[2]
>>> >>> >
>>> >>>
>>> >>>
>>> 
>>>https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jque
>>> >>>ry
>>> >>>
>>> >>>
>>> >>
>>>
>>>
>>


Re: [FlexJS] Falcon compiler errors - need help

Posted by OmPrakash Muppirala <bi...@gmail.com>.
>
> Does your app class implement IFlexInfo?
>
>
It does not seem to implement it.  Although core.Application has an empty
get info() function.  Are we supposed to override it in our sub classes?


> If that doesn't solve it, send me the SWF and I'll look at it tomorrow
> night.  I'm done for today.
>

This error is in the jquery example project that Peter checked in:
https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jqueryCanyou
test with the source code from there?  Do you still need me to send
you
the swf?

Thanks,
Om


>
> -Alex





On Sat, Sep 21, 2013 at 11:24 PM, OmPrakash Muppirala
<bi...@gmail.com>wrote:

>
>
>
> On Sat, Sep 21, 2013 at 9:00 PM, Alex Harui <ah...@adobe.com> wrote:
>
>> Either MXMLC compiled it last,
>
>
> I am pretty sure that with my set up, this did not happen.
>
>
>> or there is no defaults.css specified (or
>> something else entirely).  Run a -link-report and if any _Styles class is
>> generated.
>>
>
> The link-report does not have any _Styles class reference.  There is a
> defaults.css inside the FlexJSUI.swc, though.
>
> Thanks,
> Om
>
>
>>
>> -Alex
>>
>> On 9/21/13 7:50 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>>
>> >Here is a new one.  I got a similar error in my new component set up, so
>> I
>> >tested the jquery example.  I am getting the same exact error there as
>> >well:
>> >
>> >[SWF]
>>
>> >C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_jquery\b
>> >in-debug\jQuerySample_flexjs.swf
>> >- 74,122 bytes after decompression
>> >ReferenceError: Error #1065: Variable _jQuerySample_Styles is not
>> defined.
>> >    at flash.system::ApplicationDomain/getDefinition()
>> >    at
>>
>> >org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\p\flex_os\workspace\fl
>>
>> >exroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSValue
>> >sImpl.as:50]
>> >    at
>>
>> >org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\fle
>>
>> >xroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.as:
>> >58]
>> >
>> >Help please?
>> >
>> >Thanks,
>> >Om
>> >
>> >
>> >
>> >On Sat, Sep 21, 2013 at 4:48 PM, OmPrakash Muppirala
>> ><bi...@gmail.com>wrote:
>> >
>> >> On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
>> >>
>> >>> The code there says it can't resolve the base class for the MXML file.
>> >>> How did you add your new component to the project?  The external tools
>> >>> won't know about any changes you make to the FB Project Properties so
>> >>>any
>> >>> changes you do make have to be reflected in the External Tools Config.
>> >>>
>> >>>
>> >> Thanks for the tip.  I hadn't updated the compile-config.xml to include
>> >> the new namespaces' uri and manifest files.  I had assumed that it is
>> >> sufficient to add it just in flex-config.xml.  Once I updated
>> >> compile-config and ran ant to build the FlexJSUI.swc, my new component
>> >>was
>> >> included in the swc.
>> >>
>> >> On to my next hurdle, to actually see something on the screen :-)
>> >>
>> >> Thanks,
>> >> Om
>> >>
>> >>
>> >>
>> >>>  -Alex
>> >>>
>> >>> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com>
>> wrote:
>> >>>
>> >>> >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
>> >>>>.is
>> >>> >FlexInfo(FlexAppSWFTarget.java:977)
>> >>> >    at
>> >>>
>> >>>
>>
>> >>>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompi
>> >>>>lat
>> >>> >ionUnitsToLink(FlexAppSWFTarget.java:460)
>> >>> >    at
>> >>>
>> >>>
>>
>> >>>>org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUni
>> >>>>ts(
>> >>> >Target.java:297)
>> >>> >    at
>> >>>
>> >>>
>>
>> >>>>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUni
>> >>>>tSe
>> >>> >t(Target.java:306)
>> >>> >    at
>> >>>
>> >>>
>>
>> >>>>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.jav
>> >>>>a:2
>> >>> >28)
>> >>> >    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/ap
>> >>>ac
>> >>> >he/flex/jquery
>> >>> >[2]
>> >>> >
>> >>>
>> >>>
>> https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jque
>> >>>ry
>> >>>
>> >>>
>> >>
>>
>>
>

Re: [FlexJS] Falcon compiler errors - need help

Posted by Alex Harui <ah...@adobe.com>.
Does your app class implement IFlexInfo?

If that doesn't solve it, send me the SWF and I'll look at it tomorrow
night.  I'm done for today.

-Alex

On 9/21/13 11:24 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>On Sat, Sep 21, 2013 at 9:00 PM, Alex Harui <ah...@adobe.com> wrote:
>
>> Either MXMLC compiled it last,
>
>
>I am pretty sure that with my set up, this did not happen.
>
>
>> or there is no defaults.css specified (or
>> something else entirely).  Run a -link-report and if any _Styles class
>>is
>> generated.
>>
>
>The link-report does not have any _Styles class reference.  There is a
>defaults.css inside the FlexJSUI.swc, though.
>
>Thanks,
>Om
>
>
>>
>> -Alex
>>
>> On 9/21/13 7:50 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>>
>> >Here is a new one.  I got a similar error in my new component set up,
>>so I
>> >tested the jquery example.  I am getting the same exact error there as
>> >well:
>> >
>> >[SWF]
>> 
>>>C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_jquery
>>>\b
>> >in-debug\jQuerySample_flexjs.swf
>> >- 74,122 bytes after decompression
>> >ReferenceError: Error #1065: Variable _jQuerySample_Styles is not
>>defined.
>> >    at flash.system::ApplicationDomain/getDefinition()
>> >    at
>> 
>>>org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\p\flex_os\workspace\
>>>fl
>> 
>>>exroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSVal
>>>ue
>> >sImpl.as:50]
>> >    at
>> 
>>>org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\f
>>>le
>> 
>>>xroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.a
>>>s:
>> >58]
>> >
>> >Help please?
>> >
>> >Thanks,
>> >Om
>> >
>> >
>> >
>> >On Sat, Sep 21, 2013 at 4:48 PM, OmPrakash Muppirala
>> ><bi...@gmail.com>wrote:
>> >
>> >> On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
>> >>
>> >>> The code there says it can't resolve the base class for the MXML
>>file.
>> >>> How did you add your new component to the project?  The external
>>tools
>> >>> won't know about any changes you make to the FB Project Properties
>>so
>> >>>any
>> >>> changes you do make have to be reflected in the External Tools
>>Config.
>> >>>
>> >>>
>> >> Thanks for the tip.  I hadn't updated the compile-config.xml to
>>include
>> >> the new namespaces' uri and manifest files.  I had assumed that it is
>> >> sufficient to add it just in flex-config.xml.  Once I updated
>> >> compile-config and ran ant to build the FlexJSUI.swc, my new
>>component
>> >>was
>> >> included in the swc.
>> >>
>> >> On to my next hurdle, to actually see something on the screen :-)
>> >>
>> >> Thanks,
>> >> Om
>> >>
>> >>
>> >>
>> >>>  -Alex
>> >>>
>> >>> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com>
>> wrote:
>> >>>
>> >>> >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$FlexDelega
>>>>>>te
>> >>>>.is
>> >>> >FlexInfo(FlexAppSWFTarget.java:977)
>> >>> >    at
>> >>>
>> >>>
>> 
>>>>>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCom
>>>>>>pi
>> >>>>lat
>> >>> >ionUnitsToLink(FlexAppSWFTarget.java:460)
>> >>> >    at
>> >>>
>> >>>
>> 
>>>>>>org.apache.flex.compiler.internal.targets.Target.buildAllCompilationU
>>>>>>ni
>> >>>>ts(
>> >>> >Target.java:297)
>> >>> >    at
>> >>>
>> >>>
>> 
>>>>>>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationU
>>>>>>ni
>> >>>>tSe
>> >>> >t(Target.java:306)
>> >>> >    at
>> >>>
>> >>>
>> 
>>>>>>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.j
>>>>>>av
>> >>>>a:2
>> >>> >28)
>> >>> >    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:15
>>>>>>4)
>> >>> >    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/ap
>> >>>ac
>> >>> >he/flex/jquery
>> >>> >[2]
>> >>> >
>> >>>
>> >>>
>> https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jque
>> >>>ry
>> >>>
>> >>>
>> >>
>>
>>


Re: [FlexJS] Falcon compiler errors - need help

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Sat, Sep 21, 2013 at 9:00 PM, Alex Harui <ah...@adobe.com> wrote:

> Either MXMLC compiled it last,


I am pretty sure that with my set up, this did not happen.


> or there is no defaults.css specified (or
> something else entirely).  Run a -link-report and if any _Styles class is
> generated.
>

The link-report does not have any _Styles class reference.  There is a
defaults.css inside the FlexJSUI.swc, though.

Thanks,
Om


>
> -Alex
>
> On 9/21/13 7:50 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
> >Here is a new one.  I got a similar error in my new component set up, so I
> >tested the jquery example.  I am getting the same exact error there as
> >well:
> >
> >[SWF]
> >C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_jquery\b
> >in-debug\jQuerySample_flexjs.swf
> >- 74,122 bytes after decompression
> >ReferenceError: Error #1065: Variable _jQuerySample_Styles is not defined.
> >    at flash.system::ApplicationDomain/getDefinition()
> >    at
> >org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\p\flex_os\workspace\fl
> >exroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSValue
> >sImpl.as:50]
> >    at
> >org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\fle
> >xroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.as:
> >58]
> >
> >Help please?
> >
> >Thanks,
> >Om
> >
> >
> >
> >On Sat, Sep 21, 2013 at 4:48 PM, OmPrakash Muppirala
> ><bi...@gmail.com>wrote:
> >
> >> On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
> >>
> >>> The code there says it can't resolve the base class for the MXML file.
> >>> How did you add your new component to the project?  The external tools
> >>> won't know about any changes you make to the FB Project Properties so
> >>>any
> >>> changes you do make have to be reflected in the External Tools Config.
> >>>
> >>>
> >> Thanks for the tip.  I hadn't updated the compile-config.xml to include
> >> the new namespaces' uri and manifest files.  I had assumed that it is
> >> sufficient to add it just in flex-config.xml.  Once I updated
> >> compile-config and ran ant to build the FlexJSUI.swc, my new component
> >>was
> >> included in the swc.
> >>
> >> On to my next hurdle, to actually see something on the screen :-)
> >>
> >> Thanks,
> >> Om
> >>
> >>
> >>
> >>>  -Alex
> >>>
> >>> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com>
> wrote:
> >>>
> >>> >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
> >>>>.is
> >>> >FlexInfo(FlexAppSWFTarget.java:977)
> >>> >    at
> >>>
> >>>
> >>>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompi
> >>>>lat
> >>> >ionUnitsToLink(FlexAppSWFTarget.java:460)
> >>> >    at
> >>>
> >>>
> >>>>org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUni
> >>>>ts(
> >>> >Target.java:297)
> >>> >    at
> >>>
> >>>
> >>>>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUni
> >>>>tSe
> >>> >t(Target.java:306)
> >>> >    at
> >>>
> >>>
> >>>>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.jav
> >>>>a:2
> >>> >28)
> >>> >    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/ap
> >>>ac
> >>> >he/flex/jquery
> >>> >[2]
> >>> >
> >>>
> >>>
> https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jque
> >>>ry
> >>>
> >>>
> >>
>
>

Re: [FlexJS] Falcon compiler errors - need help

Posted by Alex Harui <ah...@adobe.com>.
Either MXMLC compiled it last, or there is no defaults.css specified (or
something else entirely).  Run a -link-report and if any _Styles class is
generated.

-Alex

On 9/21/13 7:50 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>Here is a new one.  I got a similar error in my new component set up, so I
>tested the jquery example.  I am getting the same exact error there as
>well:
>
>[SWF]
>C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_jquery\b
>in-debug\jQuerySample_flexjs.swf
>- 74,122 bytes after decompression
>ReferenceError: Error #1065: Variable _jQuerySample_Styles is not defined.
>    at flash.system::ApplicationDomain/getDefinition()
>    at
>org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\p\flex_os\workspace\fl
>exroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSValue
>sImpl.as:50]
>    at
>org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\fle
>xroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.as:
>58]
>
>Help please?
>
>Thanks,
>Om
>
>
>
>On Sat, Sep 21, 2013 at 4:48 PM, OmPrakash Muppirala
><bi...@gmail.com>wrote:
>
>> On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
>>
>>> The code there says it can't resolve the base class for the MXML file.
>>> How did you add your new component to the project?  The external tools
>>> won't know about any changes you make to the FB Project Properties so
>>>any
>>> changes you do make have to be reflected in the External Tools Config.
>>>
>>>
>> Thanks for the tip.  I hadn't updated the compile-config.xml to include
>> the new namespaces' uri and manifest files.  I had assumed that it is
>> sufficient to add it just in flex-config.xml.  Once I updated
>> compile-config and ran ant to build the FlexJSUI.swc, my new component
>>was
>> included in the swc.
>>
>> On to my next hurdle, to actually see something on the screen :-)
>>
>> Thanks,
>> Om
>>
>>
>>
>>>  -Alex
>>>
>>> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>>>
>>> >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
>>>>.is
>>> >FlexInfo(FlexAppSWFTarget.java:977)
>>> >    at
>>>
>>> 
>>>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompi
>>>>lat
>>> >ionUnitsToLink(FlexAppSWFTarget.java:460)
>>> >    at
>>>
>>> 
>>>>org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUni
>>>>ts(
>>> >Target.java:297)
>>> >    at
>>>
>>> 
>>>>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUni
>>>>tSe
>>> >t(Target.java:306)
>>> >    at
>>>
>>> 
>>>>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.jav
>>>>a:2
>>> >28)
>>> >    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/ap
>>>ac
>>> >he/flex/jquery
>>> >[2]
>>> >
>>> 
>>>https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jque
>>>ry
>>>
>>>
>>


Re: [FlexJS] Falcon compiler errors - need help

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Here is a new one.  I got a similar error in my new component set up, so I
tested the jquery example.  I am getting the same exact error there as well:

[SWF]
C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_jquery\bin-debug\jQuerySample_flexjs.swf
- 74,122 bytes after decompression
ReferenceError: Error #1065: Variable _jQuerySample_Styles is not defined.
    at flash.system::ApplicationDomain/getDefinition()
    at
org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\SimpleCSSValuesImpl.as:50]
    at
org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\src\org\apache\flex\core\Application.as:58]

Help please?

Thanks,
Om



On Sat, Sep 21, 2013 at 4:48 PM, OmPrakash Muppirala
<bi...@gmail.com>wrote:

> On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
>
>> The code there says it can't resolve the base class for the MXML file.
>> How did you add your new component to the project?  The external tools
>> won't know about any changes you make to the FB Project Properties so any
>> changes you do make have to be reflected in the External Tools Config.
>>
>>
> Thanks for the tip.  I hadn't updated the compile-config.xml to include
> the new namespaces' uri and manifest files.  I had assumed that it is
> sufficient to add it just in flex-config.xml.  Once I updated
> compile-config and ran ant to build the FlexJSUI.swc, my new component was
> included in the swc.
>
> On to my next hurdle, to actually see something on the screen :-)
>
> Thanks,
> Om
>
>
>
>>  -Alex
>>
>> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>>
>> >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.is
>> >FlexInfo(FlexAppSWFTarget.java:977)
>> >    at
>>
>> >org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilat
>> >ionUnitsToLink(FlexAppSWFTarget.java:460)
>> >    at
>>
>> >org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(
>> >Target.java:297)
>> >    at
>>
>> >org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSe
>> >t(Target.java:306)
>> >    at
>>
>> >org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:2
>> >28)
>> >    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/apac
>> >he/flex/jquery
>> >[2]
>> >
>> https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jquery
>>
>>
>

Re: [FlexJS] Falcon compiler errors - need help

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Sat, Sep 21, 2013 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:

> The code there says it can't resolve the base class for the MXML file.
> How did you add your new component to the project?  The external tools
> won't know about any changes you make to the FB Project Properties so any
> changes you do make have to be reflected in the External Tools Config.
>
>
Thanks for the tip.  I hadn't updated the compile-config.xml to include the
new namespaces' uri and manifest files.  I had assumed that it is
sufficient to add it just in flex-config.xml.  Once I updated
compile-config and ran ant to build the FlexJSUI.swc, my new component was
included in the swc.

On to my next hurdle, to actually see something on the screen :-)

Thanks,
Om



>  -Alex
>
> On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
> >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.is
> >FlexInfo(FlexAppSWFTarget.java:977)
> >    at
> >org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilat
> >ionUnitsToLink(FlexAppSWFTarget.java:460)
> >    at
> >org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(
> >Target.java:297)
> >    at
> >org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSe
> >t(Target.java:306)
> >    at
> >org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:2
> >28)
> >    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/apac
> >he/flex/jquery
> >[2]
> >
> https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jquery
>
>

Re: [FlexJS] Falcon compiler errors - need help

Posted by Alex Harui <ah...@adobe.com>.
The code there says it can't resolve the base class for the MXML file.
How did you add your new component to the project?  The external tools
won't know about any changes you make to the FB Project Properties so any
changes you do make have to be reflected in the External Tools Config.

-Alex

On 9/21/13 2:35 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>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.is
>FlexInfo(FlexAppSWFTarget.java:977)
>    at
>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilat
>ionUnitsToLink(FlexAppSWFTarget.java:460)
>    at
>org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(
>Target.java:297)
>    at
>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSe
>t(Target.java:306)
>    at
>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:2
>28)
>    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/apac
>he/flex/jquery
>[2]
>https://fisheye6.atlassian.com/browse/flex-asjs/examples/FlexJSTest_jquery