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

Icesoft | thorman | 9 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Dynamic Panel for PanelStack

    Icesoft | 9 years ago | thorman
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug 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.
  4. 0

    How to Integrate SQLite *.db file and Hibernate when controlled by Spring

    Stack Overflow | 3 years ago | DavidZemon
    java.lang.IllegalStateException: Failed to load ApplicationContext

  1. linxiaolong 1 times, last 1 month ago
  2. jokester 1 times, last 2 months 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:687)
    1 frame
  3. JavaEE 7
    UIComponentBase.findComponent
    1. javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:557)
    1 frame
  4. com.icesoft.faces
    PanelStackRenderer.encodeChildren
    1. com.icesoft.faces.component.custom.renderkit.dt.renderer.PanelStackRenderer.encodeChildren(PanelStackRenderer.java:80)
    1 frame
  5. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    1 frame
  6. com.icesoft.faces
    GridRenderer.encodeChildren
    1. com.icesoft.faces.component.ext.renderkit.dt.renderer.GridRenderer.encodeParentAndChildren(GridRenderer.java:70)
    2. com.icesoft.faces.component.ext.renderkit.dt.renderer.GridRenderer.encodeChildren(GridRenderer.java:194)
    2 frames
  7. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    1 frame
  8. com.icesoft.faces
    GridRenderer.encodeChildren
    1. com.icesoft.faces.component.ext.renderkit.dt.renderer.GridRenderer.encodeParentAndChildren(GridRenderer.java:70)
    2. com.icesoft.faces.component.ext.renderkit.dt.renderer.GridRenderer.encodeChildren(GridRenderer.java:194)
    2 frames
  9. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    1 frame
  10. com.icesoft.faces
    GridRenderer.encodeChildren
    1. com.icesoft.faces.component.ext.renderkit.dt.renderer.GridRenderer.encodeParentAndChildren(GridRenderer.java:70)
    2. com.icesoft.faces.component.ext.renderkit.dt.renderer.GridRenderer.encodeChildren(GridRenderer.java:194)
    2 frames
  11. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    1 frame
  12. org.netbeans.modules
    DomSynchronizer.run
    1. org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1303)
    2. org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1106)
    3. org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1670)
    4. org.netbeans.modules.visualweb.designer.jsf.JsfForm.renderMarkupDesignBean(JsfForm.java:2840)
    5. org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.processUpdate(DomSynchronizer.java:930)
    6. org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.processUpdates(DomSynchronizer.java:751)
    7. org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.run(DomSynchronizer.java:696)
    7 frames
  13. Java RT
    EventDispatchThread.run
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    2. java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    3. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    4. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    7. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    8. java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    8 frames