1 Reply Latest reply on Jun 28, 2007 10:39 AM by

    compc error

    austin_sherman
      I've been getting this java exception when using the compc.exe compiler from the command line. However it is occurring only on one particular machine. The command works fine on other machines. Also, using compc to compile other projects will work fine on the machine where it is failing. Has anyone ever seen this error before?

      Error: Index: 15, Size: 5

      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:3145)
      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.compiler.API.compile(API.java:1114)
      at flex2.tools.Compc.compc(Compc.java:149)
      at flex2.tools.Compc.main(Compc.java:35)

      TIA