java.lang.StringIndexOutOfBoundsException: String index out of range: -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

Solutions on the web

via Oracle Community by Khadka, 1 year ago
String index out of range: -1
via developer-works.com by Unknown author, 2 years ago
via Oracle Community by RajaSekharReddy.M, 1 year ago
String index out of range: -1
via Oracle Community by 1054ae32-246c-4a12-bd74-efe8ee53eb44, 1 year ago
String index out of range: -1
via Oracle Community by 98f5ae4e-90be-4f3b-8a32-8a8ff0f30629, 5 months ago
via Stack Overflow by Loftx
, 2 years ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:694)
at java.lang.StringBuffer.delete(StringBuffer.java:369)
at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.manageQuotes(SnpsXmlConnection.java:1000)
at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1234)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:231)
at com.sun.proxy.$Proxy19.prepareStatement(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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