java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.<init>(String.java(Compiled Code))

Oracle Community | 843797 | 1 decade ago
  1. 0

    StringIndexOutOfBounds using VapAsciiStreamToStringConverter

    Oracle Community | 1 decade ago | 843797
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.<init>(String.java(Compiled Code))
  2. 0

    StringIndexOutOfBoundsException pressing F1

    Eclipse Bugzilla | 1 decade ago | Randy_Giffen
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.<init>(String.java(Compiled Code))
  3. 0

    StringIndexOutOfBoundsException in org.netbeans.modules.java.gj.V8TreeTranslator.getString()

    Netbeans Bugzilla | 1 decade ago | gtzabari
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2148 at java.lang.String.<init>(String.java(Compiled Code))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parsing XML while ignoring comments/mixed context/PI

    Oracle Community | 10 years ago | 843834
    java.lang.StringIndexOutOfBoundsException: String index out of range: -211 at java.lang.String.<init>(String.java(Compiled Code))
  6. 0

    Problem while Passing STRUCT types as procedure input

    Oracle Community | 10 years ago | 547875
    java.lang.StringIndexOutOfBoundsException: String index out of range: 3 at java.lang.String.<init>(String.java(Inlined Compiled Code)) at oracle.sql.NUMBER.toBytes(NUMBER.java(Compiled Code))

    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.String.<init>(String.java(Compiled Code))

      at COM.ibm.db2.jdbc.app.DB2Clob.getSubString()
    2. COM.ibm.db2
      DB2Clob.getSubString
      1. COM.ibm.db2.jdbc.app.DB2Clob.getSubString(DB2Clob.java:203)
      1 frame
    3. com.ibm.vap
      VapAsciiStreamToObjectConverter.objectFrom
      1. com.ibm.vap.converters.streams.VapStreamToObjectConverter.stringFromClob(VapStreamToObjectConverter.java:69)
      2. com.ibm.vap.converters.streams.VapAsciiStreamToObjectConverter.objectFrom(VapAsciiStreamToObjectConverter.java:28)
      2 frames
    4. dps.sar.ejb
      EJSJDBCPersisterCMPGm_sar_nar_tbBean.load
      1. dps.sar.ejb.EJSJDBCPersisterCMPGm_sar_nar_tbBean.hydrate(EJSJDBCPersisterCMPGm_sar_nar_tbBean.java:117)
      2. dps.sar.ejb.EJSJDBCPersisterCMPGm_sar_nar_tbBean.load(EJSJDBCPersisterCMPGm_sar_nar_tbBean.java:142)
      2 frames
    5. com.ibm.ejs
      EJSHome.activateBean
      1. com.ibm.ejs.container.ContainerManagedBeanO.load(ContainerManagedBeanO.java:372)
      2. com.ibm.ejs.container.ContainerManagedBeanO.load(ContainerManagedBeanO.java:399)
      3. com.ibm.ejs.container.EntityBeanO.enlist(EntityBeanO.java:389)
      4. com.ibm.ejs.container.activator.OptCEntityActivationStrategy.atActivate(OptCEntityActivationStrategy.java:103)
      5. com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:168)
      6. com.ibm.ejs.container.EJSContainer.activateBean(EJSContainer.java:1259)
      7. com.ibm.ejs.container.EJSHome.activateBean(EJSHome.java:671)
      7 frames
    6. dps.sar.ejb
      Gm_sar_nar_tbFactory.findByPrimaryKey
      1. dps.sar.ejb.EJSJDBCPersisterCMPGm_sar_nar_tbBean.findByPrimaryKey(EJSJDBCPersisterCMPGm_sar_nar_tbBean.java:261)
      2. dps.sar.ejb.EJSCMPGm_sar_nar_tbHomeBean.findByPrimaryKey(EJSCMPGm_sar_nar_tbHomeBean.java:54)
      3. dps.sar.ejb.EJSRemoteCMPGm_sar_nar_tbHome.findByPrimaryKey(EJSRemoteCMPGm_sar_nar_tbHome.java:53)
      4. dps.sar.ejb._Gm_sar_nar_tbHome_Stub.findByPrimaryKey(_Gm_sar_nar_tbHome_Stub.java:281)
      5. dps.sar.ejb.Gm_sar_nar_tbFactory.findByPrimaryKey(Gm_sar_nar_tbFactory.java:72)
      5 frames
    7. dps.sar.bean
      SarReportBeanBean.loadElement
      1. dps.sar.bean.SarReportBeanBean.loadElement(SarReportBeanBean.java:199)
      1 frame