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

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

Solutions on the web

via Apereo Issues by Michael, 2 years ago
via Oracle Community by 843802, 2 years ago
String index out of range: -1
via staf by eric3232332
, 2 years ago
String index out of range: -1
via GitHub by for5million
, 2 years ago
String index out of range: -1
via GitHub by fifi98
, 1 year ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1768) at net.unicon.portal.tools.MergeUPortalConfiguration$DtdAwareSAXWriter.write(MergeUPortalConfiguration.java:610) at org.dom4j.io.SAXWriter.parse(SAXWriter.java:603) at net.unicon.portal.tools.MergeUPortalConfiguration.mergeWebChanges(MergeUPortalConfiguration.java:312) at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:118) at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359)