java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Icesoft | makoto1337 | 7 years 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

    Re:TypeError

    Icesoft | 7 years ago | makoto1337
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    Datatable primefaces java.lang.StringIndexOutOfBoundsException

    Stack Overflow | 4 years ago | sakoche
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    PrimeFaces Community Forum • View topic - Datagrid String index out of range: 0 ?

    primefaces.org | 2 years ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StringIndexOutOfBoundsException in video recorder UI

    GitHub | 8 months ago | XsubinX
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. linxiaolong 1 times, last 1 month ago
  2. jokester 1 times, last 1 month ago
  3. tyson925 1 times, last 2 months ago
  4. Torasque 1 times, last 3 months ago
  5. Hronom 32257 times, last 3 months ago
11 more registered users
18 unregistered visitors
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: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:686)
    1 frame
  3. JSF
    MultiViewHandler.getResourceURL
    1. com.sun.faces.application.view.MultiViewHandler.getResourceURL(MultiViewHandler.java:327)
    1 frame
  4. JavaEE 7
    ViewHandlerWrapper.getResourceURL
    1. javax.faces.application.ViewHandlerWrapper.getResourceURL(ViewHandlerWrapper.java:229)
    2. javax.faces.application.ViewHandlerWrapper.getResourceURL(ViewHandlerWrapper.java:229)
    3. javax.faces.application.ViewHandlerWrapper.getResourceURL(ViewHandlerWrapper.java:229)
    3 frames
  5. com.icesoft.faces
    TreeRenderer.encodeChildren
    1. com.icesoft.faces.util.CoreUtils.resolveResourceURL(CoreUtils.java:21)
    2. com.icesoft.faces.component.tree.Tree.getImageDir(Tree.java:316)
    3. com.icesoft.faces.component.tree.Tree.getImage(Tree.java:382)
    4. com.icesoft.faces.component.tree.Tree.getNavCloseTopNoSiblingsImage(Tree.java:475)
    5. com.icesoft.faces.component.tree.TreeRenderer.encodeNode(TreeRenderer.java:454)
    6. com.icesoft.faces.component.tree.TreeRenderer.encodeParentAndChildNodes(TreeRenderer.java:266)
    7. com.icesoft.faces.component.tree.TreeRenderer.encodeChildren(TreeRenderer.java:226)
    7 frames
  6. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    1 frame
  7. com.icesoft.faces
    GroupRenderer.encodeChildren
    1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:354)
    2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
    2 frames
  8. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    1 frame
  9. com.icesoft.faces
    GroupRenderer.encodeChildren
    1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:354)
    2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
    2 frames
  10. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610)
    3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    4 frames
  11. org.icefaces.context
    DOMPartialViewContext.processPartial
    1. org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:122)
    1 frame
  12. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:988)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610)
    2 frames
  13. JSF
    MultiViewHandler.renderView
    1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:368)
    2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    2 frames
  14. JavaEE 7
    ViewHandlerWrapper.renderView
    1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
    2. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
    3. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
    3 frames
  15. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    3 frames
  16. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
    1 frame
  17. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    4 frames
  18. Glassfish
    PESessionLockingStandardPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    2 frames
  19. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
    3 frames
  20. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:161)
    1 frame
  21. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    13 frames
  22. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:637)
    1 frame