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. ,
    Expert tip

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

  2. ,
    via oracle.com by Unknown author

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

via umac.mo by Unknown author, 1 year ago
String index out of range: 0
via Stack Overflow by Zoe Akinbodunse
, 1 year ago
String index out of range: 1
via GitHub by lasekio
, 10 months ago
String index out of range: 115
via Stack Overflow by Brendow Adriel
, 1 year ago
String index out of range: 5
java.lang.StringIndexOutOfBoundsException: String index out of range: 0	at java.lang.String.charAt(String.java:658)	at com.sun.faces.application.ViewHandlerImpl.getActionURL(ViewHandlerImpl.java:647)	at javax.faces.application.ViewHandlerWrapper.getActionURL(ViewHandlerWrapper.java:147)	at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.getActionURL(ViewHandlerImpl.java:129)	at oracle.adf.view.rich.context.UriManagerBase._getBaseURI(UriManagerBase.java:231)	at oracle.adf.view.rich.context.UriManagerBase.addQueryParameters(UriManagerBase.java:44)	at oracle.adfinternal.view.faces.webapp.rich.UriManagerImpl.addQueryParameters(UriManagerImpl.java:28)	at oracle.adfinternal.controller.util.AdfvInterfaceImpl.addQueryParameters(AdfvInterfaceImpl.java:210)	at oracle.adfinternal.controller.state.ControllerState.initializeState(ControllerState.java:944)	at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:542)	at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:77)	at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:538)	at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)	at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)	at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:302)	at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:87)	at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:532)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:219)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at umac.utils.http.session.SessionsMonitorServlet.doFilter(SessionsMonitorServlet.java:56)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:211)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:133)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)	at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:138)	at java.security.AccessController.doPrivileged(Native Method)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:464)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:121)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:211)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:138)	at java.security.AccessController.doPrivileged(Native Method)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:464)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:121)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:211)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:296)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)