Why AsWing A3 makes Flex compiler crashs??
iiley May 9th, 2007
I’v post this days ago, finally seems the issue is in JTable, but, i spent hours on reading JTable.as and testing, can’t found any tip. This is made me crazy!!! Why not give me some infomations in the flex compiler output, Adobe!!!!
Anyone have some experiences can help? It will be very helps, thanks in advance!
I don’t know why, it should be the compiler bug.
But well, if you want to compile A3 library, just need to do one thing : dis-selected the “Enable warnings” checkbox in Project Property -> Flex Library Compiler panel.
Or, you can open and modify file flex-config.xml in Flex Builder 2 Plug-in\Flex SDK 2\frameworks\ folder this line:
《show-actionscript-warnings》true《/show-actionscript-warnings》
to:
《show-actionscript-warnings》false《/show-actionscript-warnings》
Do you use the latest version of Flex ? Don’t know if you already use this hotfix (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb401224)
and it wasn’t mentioned that some compiler fixes have been done, but perhaps it will work :-)
valley
Thanks valley, I’ll try it. :)
It doesn’t works too. :( also crashes if i turn on warning.
…ok, but you haven’t tried to compile only parts of AsWing into the swc lib so that you could say where the error occurs or what could be the reason why this error happens ?
It’s quite strange that we do not get any more detailed information about the error in the stack trace.
valley
Hmm, valley, i’v tried that before. Thought i don’t know why the error happens, but i know the org.aswing.table packages cause the problem. We’v tried many times, but all failed.
It should be a compiler bug, it crashes, so we can’t get any detailed information … sad.
… perhaps this site can help you to find out more about the compiler error:
http://editthis.info/flexerrorcodes/Main_Page
regards
valley
Hi valley, thanks for keeping help me, thanks very much.
That page list the all known compiler checked projects/codes error/warning, but well, AsWing A3 made a “an internal build error has occurred. Please check the Error Log.”, there’s not any info about this.
You’re right, iiley.
But this wasn’t the last error (code) we all will
see in our future flex experiences, so i guess
this site can still show its worth to us ;-)
I am getting this error when trying to use Royale LAF theme:
E:\omega\classes\org\aswing\JTable.as: Files: 387 Time: 17750ms
Error: macromedia.asc.semantics.ObjectValue
java.lang.ClassCastException: macromedia.asc.semantics.ObjectValue
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:970)
at macromedia.asc.parser.BinaryExpressionNode.evaluate(BinaryExpressionNode.java:38)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1168)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:27)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1278)
at macromedia.asc.parser.IfStatementNode.evaluate(IfStatementNode.java:34)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1190)
at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1282)
at macromedia.asc.parser.IfStatementNode.evaluate(IfStatementNode.java:34)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1190)
at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1695)
at macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:87)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:2140)
at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1870)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
at flex2.compiler.as3.Compiler.analyze4(Compiler.java:581)
at flex2.compiler.API.analyze(API.java:2370)
at flex2.compiler.API.analyze(API.java:2275)
at flex2.compiler.API.batch2(API.java:360)
at flex2.compiler.API.batch(API.java:1025)
at flex2.compiler.API.compile(API.java:1211)
at flex2.compiler.API.compile(API.java:1114)
at flex2.tools.Compiler.main(Compiler.java:222)
As you mentioned, its JTable.
hmmm, yes, it should be in JTable or table package classes. I’ll recheck and try to fix them if Adobe will not improve their compiler.
BTW, Royale LAF, where is it? Is it your developed LAF?
how to use JTable? Iwant to set different componet to different JTable cell,who can tell me ? thanks!!!