I never got such error. Can you please post the simplest code that produces this error? I can test on my machine...
I am sure, its some config or class path related issue. But, I understand compiler should show more friendly message.
-abdul
I posted this a few days ago with no response. I am still hoping that I can resolve this or at least feel comfortable in believing that the error might go away with the next release of Flex.
I might feel this error is my fault but what I can't get around is the fact that it compiles fine from FlexBuilder but not MXMLC compiler. I thought FlexBuilder uses MXMLC as its compiler?
I have tried reproducing the problem with smaller applications but it works just fine. The error only comes up on a much larger application I am working on.
Here is the entire error:
[exec] Starting 'mxmlc.exe ( -load-config tt3-flex-config.xml TimeTracking3.mxml)' in 'flex'
[exec] Loading configuration file tt3-flex-config.xml, root element flex-config
[exec] Initial setup: 296ms
[exec] Loaded 9 SWCs: 936ms
[exec] Compiling...
[exec] Files: 630 Time: 7454ms
[exec] Error: Compilation unit had no type info and after parsing has no syntax tree
[exec]
[exec] java.lang.AssertionError: Compilation unit had no type info and after parsing has no syntax tree
[exec] at flex2.compiler.as3.binding.TypeAnalyzer.analyzeClass(TypeAnalyzer.java:175)
[exec] at flex2.compiler.as3.binding.TypeAnalyzer.analyzeBaseClass(TypeAnalyzer.java:120)
[exec] at flex2.compiler.as3.binding.TypeAnalyzer.evaluate(TypeAnalyzer.java:392)
[exec] at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
[exec] at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)
[exec] at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
[exec] at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)
[exec] at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
[exec] at flex2.compiler.as3.genext.GenerativeExtension.parse(GenerativeExtension.java:55)
[exec] at flex2.compiler.as3.Compiler.parse(Compiler.java:313)
[exec] at flex2.compiler.mxml.ImplementationCompiler.parse(ImplementationCompiler.java:148)
[exec] at flex2.compiler.mxml.Compiler.parse(Compiler.java:89)
[exec] at flex2.compiler.API.parse(API.java:1631)
[exec] at flex2.compiler.API.parse(API.java:1592)
[exec] at flex2.compiler.API.batch2(API.java:285)
[exec] at flex2.compiler.API.batch(API.java:764)
[exec] at flex2.compiler.API.compile(API.java:889)
[exec] at flex2.compiler.API.compile(API.java:796)
[exec] at flex2.tools.Compiler.main(Compiler.java:194)
[exec] Total time: 8686ms
[exec] Peak memory usage: 72 MB (Heap: 49, Non-Heap: 23)
I can only hope that this will be resolved in the next release!
Lance
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Please Help With MXMLC Compile Error Lance Linder
- Re: [flexcoders] Please Help With MXMLC Compile Error Abdul Qabiz
- RE: [flexcoders] Please Help With MXMLC Compile Error Lance Linder
- RE: [flexcoders] Please Help With MXMLC Compile Error Tobias Patton
Reply via email to