java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Oracle Community | 3004 | 1 decade 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

    StringIndexOutOfBoundsException when assign value +

    Oracle Community | 1 decade ago | 3004
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    Flat (text) file support for hsqldb

    hsqldb | 2 decades ago | sqlbob
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      String index out of range: 0

      at java.lang.String.charAt()
    2. Java RT
      BigDecimal.<init>
      1. java.lang.String.charAt(String.java:582)
      2. java.math.BigDecimal.<init>(BigDecimal.java:126)
      2 frames
    3. weblogic.knex.deserialize
      SimpleLiteral.fromXML
      1. weblogic.knex.deserialize.SimpleLiteral.getValue(SimpleLiteral.java:589)
      2. weblogic.knex.deserialize.SimpleLiteral.fromXML(SimpleLiteral.java:160)
      2 frames
    4. weblogic.knex.xmlmap
      XMLMapTransform.fromXML
      1. weblogic.knex.xmlmap.JavaMatch.callLeaf(JavaMatch.java:586)
      2. weblogic.knex.xmlmap.JavaMatch.callLeaf(JavaMatch.java:528)
      3. weblogic.knex.xmlmap.JavaMatch.setParamVal(JavaMatch.java:782)
      4. weblogic.knex.xmlmap.JavaMatch.setParamVal(JavaMatch.java:828)
      5. weblogic.knex.xmlmap.JavaMatch.setValue(JavaMatch.java:497)
      6. weblogic.knex.xmlmap.TreeMatch.match(TreeMatch.java:102)
      7. weblogic.knex.xmlmap.XMLMapTransform.fromXML(XMLMapTransform.java:32)
      7 frames
    5. weblogic.knex.deserialize
      MethodLiteral.read
      1. weblogic.knex.deserialize.MethodLiteral.read(MethodLiteral.java:55)
      1 frame
    6. weblogic.knex.dispatcher
      XmlJwsRequest.validate
      1. weblogic.knex.dispatcher.SoapJwsRequest.getArgsDoc(SoapJwsRequest.java:412)
      2. weblogic.knex.dispatcher.SoapJwsRequest.<init>(SoapJwsRequest.java:335)
      3. weblogic.knex.dispatcher.XmlJwsRequest.validate(XmlJwsRequest.java:115)
      3 frames
    7. weblogic.knex.bean
      RemoteDispatcherBean_v72cnr_EOImpl_WLSkel.invoke
      1. weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:70)
      2. weblogic.knex.bean.RemoteDispatcherBean_v72cnr_EOImpl.invoke(RemoteDispatcherBean_v72cnr_EOImpl.java:100)
      3. weblogic.knex.bean.RemoteDispatcherBean_v72cnr_EOImpl_WLSkel.invoke(UnknownSource)
      3 frames
    8. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
      1 frame
    9. weblogic.rmi.cluster
      ReplicaAwareRemoteRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
      2. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
      2 frames
    10. weblogic.knex.bean
      RemoteDispatcherBean_v72cnr_EOImpl_WLStub.invoke
      1. weblogic.knex.bean.RemoteDispatcherBean_v72cnr_EOImpl_WLStub.invoke(UnknownSource)
      1 frame
    11. weblogic.knex.dispatcher
      HttpServer.doPost
      1. weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
      2. weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
      3. weblogic.knex.dispatcher.HttpServer.doPost(HttpServer.java:268)
      3 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    13. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
      4 frames
    14. weblogic.security.service
      SecurityServiceManager.runAs
      1. weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
      1 frame
    15. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
      2 frames
    16. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
      2 frames