java.lang.StringIndexOutOfBoundsException: String index out of range: 37

proguard | dddenton | 2 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

    StringIndexOutOfBoundsExceptions

    proguard | 9 years ago | karrotcake
    java.lang.StringIndexOutOfBoundsException: String index out of range: 67
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug tip
    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.
  4. 0

    JDBC Refcursor error

    Oracle Community | 1 decade ago | 267602
    java.lang.StringIndexOutOfBoundsException: String index out of range: 37
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.StringIndexOutOfBoundsException

    String index out of range: 37

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:646)
    1 frame
  3. [${project.groupId}] ${project.artifactId}
    ProGuard.execute
    1. proguard.classfile.util.DescriptorClassEnumeration.nextFluff(DescriptorClassEnumeration.java:173)
    2. proguard.classfile.util.DescriptorClassEnumeration.classCount(DescriptorClassEnumeration.java:69)
    3. proguard.classfile.util.ClassReferenceInitializer.findReferencedClasses(ClassReferenceInitializer.java:500)
    4. proguard.classfile.util.ClassReferenceInitializer.visitSignatureAttribute(ClassReferenceInitializer.java:340)
    5. proguard.classfile.util.SimplifiedVisitor.visitSignatureAttribute(SimplifiedVisitor.java:339)
    6. proguard.classfile.util.SimplifiedVisitor.visitSignatureAttribute(SimplifiedVisitor.java:351)
    7. proguard.classfile.attribute.SignatureAttribute.accept(SignatureAttribute.java:109)
    8. proguard.classfile.ProgramMethod.attributesAccept(ProgramMethod.java:81)
    9. proguard.classfile.util.ClassReferenceInitializer.visitProgramMethod(ClassReferenceInitializer.java:139)
    10. proguard.classfile.ProgramMethod.accept(ProgramMethod.java:73)
    11. proguard.classfile.ProgramClass.methodsAccept(ProgramClass.java:516)
    12. proguard.classfile.util.ClassReferenceInitializer.visitProgramClass(ClassReferenceInitializer.java:104)
    13. proguard.classfile.ProgramClass.accept(ProgramClass.java:358)
    14. proguard.classfile.ClassPool.classesAccept(ClassPool.java:124)
    15. proguard.Initializer.execute(Initializer.java:146)
    16. proguard.ProGuard.initialize(ProGuard.java:233)
    17. proguard.ProGuard.execute(ProGuard.java:98)
    17 frames
  4. [${project.groupId}] ${project.artifactId}
    ProGuardTask.proguard
    1. proguard.gradle.ProGuardTask.proguard(ProGuardTask.java:1074)
    1 frame