java.lang.ArrayIndexOutOfBoundsException: -1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.ArrayIndexOutOfBoundsException: -1
at proguard.optimize.peephole.BranchTargetFinder.visitConstantInstruction(BranchTargetFinder.java:504)
at proguard.classfile.instruction.ConstantInstruction.accept(ConstantInstruction.java:157)
at proguard.classfile.attribute.CodeAttribute.instructionsAccept(CodeAttribute.java:138)
at proguard.classfile.attribute.CodeAttribute.instructionsAccept(CodeAttribute.java:110)
at proguard.optimize.peephole.BranchTargetFinder.visitCodeAttribute(BranchTargetFinder.java:366)
at proguard.preverify.CodeSubroutineInliner.visitCodeAttribute0(CodeSubroutineInliner.java:98)
at proguard.preverify.CodeSubroutineInliner.visitCodeAttribute(CodeSubroutineInliner.java:77)
at proguard.classfile.attribute.CodeAttribute.accept(CodeAttribute.java:101)
at proguard.classfile.ProgramMethod.attributesAccept(ProgramMethod.java:79)
at proguard.classfile.attribute.visitor.AllAttributeVisitor.visitProgramMember(AllAttributeVisitor.java:95)
at proguard.classfile.util.SimplifiedVisitor.visitProgramMethod(SimplifiedVisitor.java:91)
at proguard.classfile.ProgramMethod.accept(ProgramMethod.java:71)
at proguard.classfile.ProgramClass.methodsAccept(ProgramClass.java:504)
at proguard.classfile.visitor.AllMethodVisitor.visitProgramClass(AllMethodVisitor.java:47)
at proguard.classfile.visitor.ClassVersionFilter.visitProgramClass(ClassVersionFilter.java:76)
at proguard.classfile.ProgramClass.accept(ProgramClass.java:346)
at proguard.classfile.ClassPool.classesAccept(ClassPool.java:124)
at proguard.preverify.SubroutineInliner.execute(SubroutineInliner.java:71)
at proguard.ProGuard.inlineSubroutines(ProGuard.java:291)
at proguard.ProGuard.execute(ProGuard.java:106)
at proguard.ProGuard.main(ProGuard.java:483)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.