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

Oracle Community | 3004 | 2 decades 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

    Exception when deploying wars

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

    Exception when deploying wars

    Google Groups | 2 decades ago | us...@domain.invalid
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    Deploying Cocoon 2.0.1 in WL 6.1 SP2

    Oracle Community | 2 decades ago | 3004
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    struts and weblogic 6.1

    Coderanch | 1 decade ago | Rahul Mahindrakar
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    how to configure Weblogic 6.1 with JSTL?

    Coderanch | 1 decade ago | Lipman Li
    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:469)
    2. weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:234)
    3. weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3407)
    4. weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
    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
    $Proxy29.addWebDeployment
    1. $Proxy29.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
    ConfigurationMBeanImpl.invoke
    1. weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
    2. weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
    3. weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
    4. weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
    5. weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    6. weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    6 frames
  19. 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
  20. 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
  21. Unknown
    $Proxy11.addTarget
    1. $Proxy11.addTarget(Unknown Source)
    1 frame
  22. weblogic.management.mbeans
    ApplicationManager$ApplicationPoller.run
    1. weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
    2. weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
    3. weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
    4. weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
    5. weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
    6. weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
    7. weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)
    7 frames