You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Nimai <ni...@beecavegames.com> on 2016/03/24 02:11:17 UTC

[FalconJX] Exception: MemberAccessExpressionNode cannot be cast to IIdentifierNode

Our team is currently using the nightly build of Falcon JX to try and compile
the Starling Framework to JavaScript.  The compilation eventually fails
with:

java.lang.ClassCastException:
o.a.f.c.internal.tree.as.MemberAccessExpressionNode cannot be cast to
o.a.f.c.tree.as.IIdentifierNode
	at
o.a.f.c.internal.codegen.js.jx.BinaryOperatorEmitter.super_emitBinaryOperator(BinaryOperatorEmitter.java:338) 
	at
o.a.f.c.internal.codegen.js.jx.BinaryOperatorEmitter.emit(BinaryOperatorEmitter.java:227) 
	at
o.a.f.c.internal.codegen.js.flexjs.JSFlexJSEmitter.emitBinaryOperator(JSFlexJSEmitter.java:605) 
	at
o.a.f.c.internal.codegen.as.ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:525) 
......


I have a feeling it's an E4X problem somewhere in the code.  I'm new to
using the FalconJX compiler, though, and I'd appreciate any advice in how to
be more helpful in reporting issues.  Is there a verbose setting that would
emit what ActionScript file was being processed at the time of the
exception?






--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FalconJX-Exception-MemberAccessExpressionNode-cannot-be-cast-to-IIdentifierNode-tp51948.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FalconJX] Exception: MemberAccessExpressionNode cannot be cast to IIdentifierNode

Posted by Alex Harui <ah...@adobe.com>.
Please file a bug at http://issues.apache.org/jira/browse/FLEX with a
small test case.

Thanks,
-Alex

On 3/23/16, 6:11 PM, "Nimai" <ni...@beecavegames.com> wrote:

>Our team is currently using the nightly build of Falcon JX to try and
>compile
>the Starling Framework to JavaScript.  The compilation eventually fails
>with:
>
>java.lang.ClassCastException:
>o.a.f.c.internal.tree.as.MemberAccessExpressionNode cannot be cast to
>o.a.f.c.tree.as.IIdentifierNode
>	at
>o.a.f.c.internal.codegen.js.jx.BinaryOperatorEmitter.super_emitBinaryOpera
>tor(BinaryOperatorEmitter.java:338)
>	at
>o.a.f.c.internal.codegen.js.jx.BinaryOperatorEmitter.emit(BinaryOperatorEm
>itter.java:227) 
>	at
>o.a.f.c.internal.codegen.js.flexjs.JSFlexJSEmitter.emitBinaryOperator(JSFl
>exJSEmitter.java:605)
>	at
>o.a.f.c.internal.codegen.as.ASBlockWalker.visitBinaryOperator(ASBlockWalke
>r.java:525) 
>......
>
>
>I have a feeling it's an E4X problem somewhere in the code.  I'm new to
>using the FalconJX compiler, though, and I'd appreciate any advice in how
>to
>be more helpful in reporting issues.  Is there a verbose setting that
>would
>emit what ActionScript file was being processed at the time of the
>exception?
>
>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/FalconJX-Exception-Me
>mberAccessExpressionNode-cannot-be-cast-to-IIdentifierNode-tp51948.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.