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

  1. ,
    via oracle.com by Unknown author

    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.

  2. ,
    Expert 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.

Solutions on the web

via blogspot.com by Unknown author, 1 year ago
via Google Groups by Frances Del Rio, 6 months ago
String index out of range: -1
via GitHub by hazendaz
, 1 year ago
String index out of range: 246
via Stack Overflow by V Ts
, 6 months ago
via Stack Overflow by Robert Green
, 5 months ago
via GitHub by trejkaz
, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: 5	at java.lang.String.charAt(String.java:793)	at oracle.apps.xdo.template.pdf.util.PDFFile.getVersion(PDFFile.java:232)	at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:89)	at oracle.apps.xdo.template.pdf.Xref.init(Xref.java:72)	at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)	at oracle.apps.xdo.template.pdf.PDFParser.init(PDFParser.java:160)	at oracle.apps.xdo.template.pdf.PDFParser.init(PDFParser.java:151)	at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.init(PDFDocMerger.java:1603)	at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)	at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)	at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)	at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)