java.lang.reflect.UndeclaredThrowableException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25

  • via Unknown by zb cong,
  • via Unknown by 3004,
  • via Unknown by 3004,
  • Stack trace

    • java.lang.reflect.UndeclaredThrowableException: 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:469) at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:234) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3407) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376) 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 $Proxy30.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.addDeployments(DeploymentTarget.java:279) at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233) at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193) 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 $Proxy29.updateDeployments(Unknown Source) at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761) at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370) at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160) 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 $Proxy38.start(Unknown Source) at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480) at weblogic.management.Admin.startApplicationManager(Admin.java:1180) at weblogic.management.Admin.finish(Admin.java:590) at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203) at weblogic.Server.main(Server.java:35)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.