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

Oracle Community | 1054ae32-246c-4a12-bd74-efe8ee53eb44 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ODI 11g:String index out of range: -1

    Oracle Community | 9 months ago | 1054ae32-246c-4a12-bd74-efe8ee53eb44
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    Unable to get XML output using ODI 12c - Data Integrator

    developer-works.com | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    Unable to get XML output using ODI 12c

    Oracle Community | 3 years ago | Khadka
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to create output xml file

    Oracle Community | 1 year ago | RajaSekharReddy.M
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    1 unregistered visitors
    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.AbstractStringBuilder.delete()
    2. Java RT
      StringBuffer.delete
      1. java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:694)
      2. java.lang.StringBuffer.delete(StringBuffer.java:369)
      2 frames
    3. com.sunopsis.jdbc
      SnpsXmlConnection.prepareStatement
      1. com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.manageQuotes(SnpsXmlConnection.java:1001)
      2. com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1241)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. oracle.odi.core
      OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke
      1. oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
      1 frame
    6. com.sun.proxy
      $Proxy2.prepareStatement
      1. com.sun.proxy.$Proxy2.prepareStatement(Unknown Source)
      1 frame
    7. oracle.odi.runtime
      DataMovementTaskExecutionHandler.handleTask
      1. oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)
      2. oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)
      3. oracle.odi.runtime.agent.execution.sql.SQLCommand.getBatchCommand(SQLCommand.java:337)
      4. oracle.odi.runtime.agent.execution.sql.SQLCommand.processRecord(SQLCommand.java:137)
      5. oracle.odi.runtime.agent.execution.cmd.TextCommand.processRecord(TextCommand.java:1)
      6. oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:86)
      6 frames
    8. com.sunopsis.dwg
      SnpSession.treatSession
      1. com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2925)
      2. com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2637)
      3. com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      4. com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      5. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
      5 frames
    9. oracle.odi.runtime
      StartSessRequestProcessor$2.doAction
      1. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:380)
      1 frame
    10. oracle.odi.core
      DwgObjectTemplate.execute
      1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      1 frame
    11. oracle.odi.runtime
      DefaultAgentTaskExecutor$2.run
      1. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:312)
      2. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:304)
      3. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:874)
      4. oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:133)
      5. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:84)
      5 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame