java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Oracle Community | User403525 | 3 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

    Issues with XML Publisher

    Oracle Community | 3 years ago | User403525
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    BLOB image in XML Publisher

    Oracle Community | 1 decade ago | 313179
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Errors when trying to use vget (video downloading API)

    Stack Overflow | 2 years ago | Kyler Brown
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    iProblems with substr, integers and loops in converting decimal to binary and binary to decimal

    Stack Overflow | 2 years ago | Hadi77
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
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: -1

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(Unknown Source)
    1 frame
  3. oracle.apps.xdo
    FOHandler.endElement
    1. oracle.apps.xdo.common.encoding.Base64Util.decode(Base64Util.java:54)
    2. oracle.apps.xdo.template.fo.elements.FOInstreamForeignObject.end(FOInstreamForeignObject.java:71)
    3. oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
    3 frames
  4. oracle.xml.parser
    XMLParser.parse
    1. oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
    2. oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1189)
    3. oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    4. oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
    5. oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    5 frames
  5. oracle.apps.xdo
    FOProcessor.generate
    1. oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
    2. oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
    2 frames
  6. Unknown
    RTF2PDF.main
    1. RTF2PDF.runRTFto(RTF2PDF.java:626)
    2. RTF2PDF.runXDO(RTF2PDF.java:460)
    3. RTF2PDF.main(RTF2PDF.java:251)
    3 frames