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

    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
  2. 0

    Error 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StringIndexOutOfBounds while deploying war file (6.1 sp2)

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

    Error while deploying war file

    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:469)
    2. weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
    3. weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
    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
    $Proxy26.addWebDeployment
    1. $Proxy26.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.updateDeployments
    1. weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
    2. weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
    3. weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
    4. weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
    4 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
    MBeanProxy.invoke
    1. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    2. weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    2 frames
  17. Unknown
    $Proxy0.updateDeployments
    1. $Proxy0.updateDeployments(Unknown Source)
    1 frame
  18. weblogic.management.configuration
    ServerMBean_CachingStub.updateDeployments
    1. weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
    1 frame
  19. weblogic.management.mbeans
    ApplicationManager.start
    1. weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
    2. weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
    2 frames
  20. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  21. 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
  22. 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
  23. 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
  24. Unknown
    $Proxy41.start
    1. $Proxy41.start(Unknown Source)
    1 frame
  25. weblogic.management.configuration
    ApplicationManagerMBean_CachingStub.start
    1. weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
    1 frame
  26. weblogic.management
    Admin.finish
    1. weblogic.management.Admin.startApplicationManager(Admin.java:1180)
    2. weblogic.management.Admin.finish(Admin.java:590)
    2 frames
  27. weblogic.t3.srvr
    T3Srvr.run
    1. weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
    2. weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    2 frames
  28. weblogic
    Server.main
    1. weblogic.Server.main(Server.java:35)
    1 frame