String index out of range: -1

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4603

  • String index out of range: -1
  • via GitHub by dlsniper
    , 1 year ago
    String index out of range: 1
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.charAt(Unknown Source) at oracle.apps.xdo.common.encoding.Base64Util.decode(Unknown Source) at Source) at Source) at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(Unknown Source) at oracle.apps.xdo.common.xml.XSLTMerger.startElement(Unknown Source) at oracle.xml.parser.v2.XMLContentHandler.startElement( at oracle.xml.parser.v2.NonValidatingParser.parseElement( at oracle.xml.parser.v2.NonValidatingParser.parseRootElement( at oracle.xml.parser.v2.NonValidatingParser.parseDocument( at oracle.xml.parser.v2.XMLParser.parse( at Source) at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source) at RTF2PDF.runRTFto( at RTF2PDF.runXDO( at RTF2PDF.main(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    14 times, 1 week ago
    11 times, 2 months ago
    Once, 1 year ago
    2 times, 1 year ago
    Unknown user
    Once, 2 years ago
    34 more bugmates