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 Icesoft by makoto1337, 1 year ago
String index out of range: 0
via Google Groups by Tim, 10 months ago
via Google Groups by Poulter, Dale, 8 months ago
String index out of range: 1
via Hibernate JIRA by Luca, 1 year ago
via Hibernate JIRA by Luca, 2 years ago
via Stack Overflow by gotch4
, 2 years ago
String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0	at java.lang.String.charAt(String.java:686)	at com.sun.faces.application.view.MultiViewHandler.getResourceURL(MultiViewHandler.java:327)	at javax.faces.application.ViewHandlerWrapper.getResourceURL(ViewHandlerWrapper.java:229)	at javax.faces.application.ViewHandlerWrapper.getResourceURL(ViewHandlerWrapper.java:229)	at javax.faces.application.ViewHandlerWrapper.getResourceURL(ViewHandlerWrapper.java:229)	at com.icesoft.faces.util.CoreUtils.resolveResourceURL(CoreUtils.java:21)	at com.icesoft.faces.component.tree.Tree.getImageDir(Tree.java:316)	at com.icesoft.faces.component.tree.Tree.getImage(Tree.java:382)	at com.icesoft.faces.component.tree.Tree.getNavCloseTopNoSiblingsImage(Tree.java:475)	at com.icesoft.faces.component.tree.TreeRenderer.encodeNode(TreeRenderer.java:454)	at com.icesoft.faces.component.tree.TreeRenderer.encodeParentAndChildNodes(TreeRenderer.java:266)	at com.icesoft.faces.component.tree.TreeRenderer.encodeChildren(TreeRenderer.java:226)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)	at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:354)	at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)	at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:354)	at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610)	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)	at org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:122)	at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:988)	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610)	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:368)	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:161)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)	at java.lang.Thread.run(Thread.java:637)