Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

Solutions on the web

via Google Groups by Axel Großmann, 2 years ago
via Coderanch by virga, 1 year ago
String index out of range: -1
via Oracle Community by 3004, 1 year ago
String index out of range: -1
via Oracle Community by 3004, 1 year ago
String index out of range: -1
via Google Groups by Unknown author, 2 years ago
String index out of range: -1
via Coderanch by Rahul Mahindrakar, 1 year ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1525) at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476) at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862) at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74) at weblogic.j2ee.Application.addComponent(Application.java:163) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209) at $Proxy34.addWebDeployment(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209) at $Proxy9.addDeployment(Unknown Source) at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516) at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895) at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847) at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295) at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356) at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331) at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setTargets(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92) at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)