java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Oracle Community | qanh88 | 5 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Open porject Groovy error eclaration package

    Oracle Community | 5 years ago | qanh88
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Pilleo 1 times, last 3 weeks ago
  2. Eric 8 times, last 3 weeks ago
  3. Indri Yunita 4 times, last 1 month ago
  4. filpgame 4 times, last 1 month ago
  5. tyson925 3 times, last 2 months ago
70 more registered users
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(Unknown Source)
    2. java.util.ArrayList.get(Unknown Source)
    2 frames
  3. Groovy
    StatementWriter.writeExpressionStatement
    1. org.codehaus.groovy.classgen.asm.InvocationWriter.writeAICCall(InvocationWriter.java:448)
    2. org.codehaus.groovy.classgen.asm.InvocationWriter.writeInvokeConstructor(InvocationWriter.java:428)
    3. org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorCallExpression(AsmClassGenerator.java:909)
    4. org.codehaus.groovy.ast.expr.ConstructorCallExpression.visit(ConstructorCallExpression.java:43)
    5. org.codehaus.groovy.classgen.AsmClassGenerator.visitCastExpression(AsmClassGenerator.java:616)
    6. org.codehaus.groovy.ast.expr.CastExpression.visit(CastExpression.java:66)
    7. org.codehaus.groovy.classgen.asm.InvocationWriter.loadArguments(InvocationWriter.java:183)
    8. org.codehaus.groovy.classgen.asm.InvocationWriter.writeDirectMethodCall(InvocationWriter.java:129)
    9. org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:221)
    10. org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:76)
    11. org.codehaus.groovy.classgen.asm.InvocationWriter.makeInvokeMethodCall(InvocationWriter.java:60)
    12. org.codehaus.groovy.classgen.asm.InvocationWriter.writeInvokeMethod(InvocationWriter.java:334)
    13. org.codehaus.groovy.classgen.AsmClassGenerator.visitMethodCallExpression(AsmClassGenerator.java:648)
    14. org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:67)
    15. org.codehaus.groovy.classgen.asm.StatementWriter.writeExpressionStatement(StatementWriter.java:606)
    15 frames