Skip to main content

Open porject Groovy error eclaration package

No replies
qanh88
Offline
Joined: 2010-04-20
Points: 0

General error during class generation: Index: 0, Size: 0 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at
java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at
org.codehaus.groovy.classgen.asm.InvocationWriter.writeAICCall(InvocationWriter.java:448) at
org.codehaus.groovy.classgen.asm.InvocationWriter.writeInvokeConstructor(InvocationWriter.java:428) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorCallExpression(AsmClassGenerator.java:909) at
org.codehaus.groovy.ast.expr.ConstructorCallExpression.visit(ConstructorCallExpression.java:43) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitCastExpression(AsmClassGenerator.java:616) at
org.codehaus.groovy.ast.expr.CastExpression.visit(CastExpression.java:66) at
org.codehaus.groovy.classgen.asm.InvocationWriter.loadArguments(InvocationWriter.java:183) at
org.codehaus.groovy.classgen.asm.InvocationWriter.writeDirectMethodCall(InvocationWriter.java:129) at
org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:221) at
org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:76) at
org.codehaus.groovy.classgen.asm.InvocationWriter.makeInvokeMethodCall(InvocationWriter.java:60) at
org.codehaus.groovy.classgen.asm.InvocationWriter.writeInvokeMethod(InvocationWriter.java:334) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitMethodCallExpression(AsmClassGenerator.java:648) at
org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:67) at
org.codehaus.groovy.classgen.asm.StatementWriter.writeExpressionStatement(StatementWriter.java:606) at
org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeExpressionStatement(OptimizingStatementWriter.java:
354) at org.codehaus.groovy.classgen.AsmClassGenerator.visitExpressionStatement(AsmClassGenerator.java:509) at
org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at
org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:102) at
org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:113) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitStdMethod(AsmClassGenerator.java:319) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:276) at
org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:124) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitMethod(AsmClassGenerator.java:396) at
org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1163) at
org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:51) at
org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:180) at
org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:854) at
org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1188) at
org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:621) at
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:599) at
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:576) at
org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnit
Declaration.java:171) at
org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.generateCode(GroovyCompilationUnitD
eclaration.java:1534) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:838) at
org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137) at java.lang.Thread.run(Unknown
Source)
Open porject Groovy error eclaration package

AttachmentSize
error.png185.34 KB