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

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

    Unable to deploy Web App in Exploded format

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

    Error while deploying war file

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

    Exception when deploying wars

    Google Groups | 2 decades ago | us...@domain.invalid
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StringIndexOutOfBounds while deploying war file (6.1 sp2)

    Google Groups | 2 decades ago | Axel Großmann
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    StringIndexOutOfBounds while deploying war file (6.1 sp2)

    Oracle Community | 2 decades ago | 3004
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
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.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1525)
    1 frame
  3. Atmosphere weblogic
    HttpServer.loadWebApp
    1. weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476)
    2. weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232)
    3. weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415)
    4. weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384)
    5. weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
    6. weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
    7. weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
    7 frames
  4. weblogic.j2ee
    J2EEService.addDeployment
    1. weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    2. weblogic.j2ee.Application.addComponent(Application.java:163)
    3. weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    3 frames
  5. weblogic.management.mbeans
    WebServer.addWebDeployment
    1. weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    2. weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    3. weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. weblogic.management.internal
    ConfigurationMBeanImpl.invoke
    1. weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    2. weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    3. weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    3 frames
  8. Java RT
    MBeanServerImpl.invoke
    1. com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    2. com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    2 frames
  9. weblogic.management.internal
    MBeanProxy.invoke
    1. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    2. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    2 frames
  10. Unknown
    $Proxy34.addWebDeployment
    1. $Proxy34.addWebDeployment(Unknown Source)
    1 frame
  11. weblogic.management.configuration
    WebServerMBean_CachingStub.addWebDeployment
    1. weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
    1 frame
  12. weblogic.management.mbeans
    DeploymentTarget.addDeployment
    1. weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
    2. weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    2 frames
  13. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  14. weblogic.management.internal
    ConfigurationMBeanImpl.invoke
    1. weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    2. weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    3. weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    3 frames
  15. Java RT
    MBeanServerImpl.invoke
    1. com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    2. com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    2 frames
  16. weblogic.management.internal
    ConfigurationMBeanImpl.invoke
    1. weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    2. weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    2 frames
  17. Java RT
    MBeanServerImpl.invoke
    1. com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    2. com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    2 frames
  18. weblogic.management.internal
    MBeanProxy.invoke
    1. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    2. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    2 frames
  19. Unknown
    $Proxy9.addDeployment
    1. $Proxy9.addDeployment(Unknown Source)
    1 frame
  20. weblogic.management.internal
    ConfigurationMBeanImpl.setAttribute
    1. weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    2. weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    3. weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    4. weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    4 frames
  21. Java RT
    MBeanServerImpl.setAttribute
    1. com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    2. com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    2 frames
  22. weblogic.management.internal
    MBeanProxy.invoke
    1. weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    2. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    2 frames
  23. Unknown
    $Proxy18.setTargets
    1. $Proxy18.setTargets(Unknown Source)
    1 frame
  24. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  25. weblogic.management.console
    ActionServlet.doPost
    1. weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    2. weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    3. weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    4. weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    4 frames
  26. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    2 frames
  27. Atmosphere weblogic
    ServletRequestImpl.execute
    1. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    3. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
    4. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    4 frames
  28. weblogic.kernel
    ExecuteThread.run
    1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    2 frames