flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kinjal patel <kinjalpatel3...@gmail.com>
Subject State transition problem in FlexJS
Date Thu, 18 Feb 2016 07:02:03 GMT
I have used state transition in my Project it runs well from FB(swf create
successfully) but when i create javascriot/html of this project using asjsc
command from terminal/command i am getting error .

java.lang.ClassCastException:
org.apache.flex.compiler.internal.tree.mxml.MXMLPr
opertySpecifierNode cannot be cast to
org.apache.flex.compiler.tree.mxml.IMXMLIn
stanceNode
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitt
er.emitInstanceOverride(MXMLFlexJSEmitter.java:1421)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitt
er.emitInstance(MXMLFlexJSEmitter.java:1100)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.visitI
nstance(MXMLBlockWalker.java:246)
        at
org.apache.flex.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(
MXMLNodeSwitch.java:123)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(M
XMLBlockWalker.java:149)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitt
er.emitArray(MXMLFlexJSEmitter.java:1679)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.visitA
rray(MXMLBlockWalker.java:286)
        at
org.apache.flex.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(
MXMLNodeSwitch.java:72)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(M
XMLBlockWalker.java:149)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitt
er.emitPropertySpecifier(MXMLFlexJSEmitter.java:1569)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.visitP
ropertySpecifier(MXMLBlockWalker.java:254)
        at
org.apache.flex.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(
MXMLNodeSwitch.java:105)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(M
XMLBlockWalker.java:149)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitt
er.emitDocument(MXMLFlexJSEmitter.java:200)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSBlock
Walker.visitDocument(MXMLFlexJSBlockWalker.java:69)
        at
org.apache.flex.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(
MXMLNodeSwitch.java:84)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(M
XMLBlockWalker.java:149)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSBlock
Walker.visitFile(MXMLFlexJSBlockWalker.java:61)
        at
org.apache.flex.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(
MXMLNodeSwitch.java:90)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(M
XMLBlockWalker.java:149)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLBlockWalker.visitC
ompilationUnit(MXMLBlockWalker.java:168)
        at
org.apache.flex.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXM
LWriter.java:66)
        at
org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:458)
        at
org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346
)
        at
org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271)

        at
org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.jav
a:230)
        at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)


One more thing i have used 
<js:SolidBackgroundBead backgroundColor="0x000000" opacity="0.8"/>

and also getting error of SolidBackgroundBead at conversion time.

File not found: org.apache.flex.html.beads.SolidBackgroundBead 
: 
: java.lang.RuntimeException: Unable to find JavaScript filePath for class:
org.apache.flex.html.beads.SolidBackgroundBead 
: at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:176) 
: at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:210) 
: at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:210) 
: at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:210) 
: at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:128) 
: at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:80)

: at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:330)

: at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467) 
: at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346) 
: at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271) 
: at
org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:230) 
: at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176) 


Thanks,
Kinjal



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/State-transition-problem-in-FlexJS-tp12008.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message