I'm getting a similar error in both Flex Builder and using the 
command line compiler.  I can reproduce this at will on one machine 
while another one is hit or miss.  

My stack trace:
java.lang.IndexOutOfBoundsException: Index: 15, Size: 5
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at macromedia.asc.semantics.ReferenceValue.getSlot
(ReferenceValue.java:224)
at macromedia.asc.semantics.ConstantEvaluator.evaluate
(ConstantEvaluator.java:1087)
at macromedia.asc.parser.MemberExpressionNode.evaluate
(MemberExpressionNode.java:31)
at macromedia.asc.semantics.ConstantEvaluator.evaluate
(ConstantEvaluator.java:1834)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:27)
at macromedia.asc.semantics.ConstantEvaluator.evaluate
(ConstantEvaluator.java:1931)
at macromedia.asc.parser.ExpressionStatementNode.evaluate
(ExpressionStatementNode.java:33)
at macromedia.asc.semantics.ConstantEvaluator.evaluate
(ConstantEvaluator.java:1911)
at macromedia.asc.parser.StatementListNode.evaluate
(StatementListNode.java:36)
at macromedia.asc.semantics.ConstantEvaluator.evaluate
(ConstantEvaluator.java:3102)
at macromedia.asc.parser.ClassDefinitionNode.evaluate
(ClassDefinitionNode.java:86)
at macromedia.asc.semantics.ConstantEvaluator.evaluate
(ConstantEvaluator.java:2894)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
at flex2.compiler.as3.Compiler.analyze4(Compiler.java:567)
at flex2.compiler.mxml.ImplementationCompiler.analyze4
(ImplementationCompiler.java:253)
at flex2.compiler.mxml.Compiler.analyze4(Compiler.java:142)
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.tools.oem.Application.compile(Application.java:783)


If you had any luck or things to look for please let me know.  This 
link provided some insight on things to look for, but to date hasn't 
helped me just yet.

http://rjowen.wordpress.com/2007/06/21/internal-build-error-or-
classes-must-not-be-nested-error/


Hopefully someone has seen this before and can shed some light on it 
for the rest of us :)

Thanks in advance!
-Bob

--- In [email protected], "j_lentzz" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I'm trying to use the command line compiler for a set of standalone
> apps.  It used to work fine, but now I'm getting the following error
> when I start up my make file:
> 
> mxmlc -show-unused-type-selector-warnings=false -output
> bin/AddEditReviseProjectRequest.swf AddEditReviseProjectRequest.mxml
> Loading configuration file C:\Program Files\Adobe\Flex Builder 2
\Flex
> SDK 2\frameworks\flex-config.xml
> Error: Index: 14, Size: 5
> 
> java.lang.IndexOutOfBoundsException: Index: 14, Size: 5
>     at java.util.ArrayList.RangeCheck(ArrayList.java:546)
>     at java.util.ArrayList.get(ArrayList.java:321)
> ...
> 
> 
> Has anyone see this before or know what is causing it?  It used to
> compile just fine.  I restructured some code, but I'm not doing
> anything new.
> 
> Any help or ideas would be greatly appreciated.
> 
> Thanks,
> 
> John
>


Reply via email to