ava.lang.StringIndexOutOfBoundsException

String index out of range: -1

Solutions on the web9

  • via Oracle Community by 3004, 1 year ago
    String index out of range: -1
  • via Oracle Community by Khadka, 1 year ago
    String index out of range: -1
  • via Oracle Community by 501077, 11 months ago
    String index out of range: -1
  • Stack trace

    • ava.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) 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 com.sunopsis.sql.SnpsConnection$ConnectionProxyInvocationHandler.invoke(SnpsConnection.java:141) at com.sun.proxy.$Proxy23.prepareStatement(Unknown Source) at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:104) at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:147) at oracle.odi.runtime.agent.execution.sql.SQLCommand.getBatchCommand(SQLCommand.java:388) at oracle.odi.runtime.agent.execution.sql.SQLCommand.processRecord(SQLCommand.java:167) at oracle.odi.runtime.agent.execution.sql.SQLCommand.processRecord(SQLCommand.java:37) at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:127) at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:214) at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:135) at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:856) at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2004) at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:544) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:709) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:624) at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:789) at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:330) at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$2700(StartSessRequestProcessor.java:80) at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:957) at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:177) at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:110) at java.lang.Thread.run(Thread.java:745)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.