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

ICEsoft JIRA Issue Tracker | Stefan Rempfer | 8 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

    Failed to parse files with /*/ inside strings

    GitHub | 2 years ago | marcosca2
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Exception when parsing a String literal which contains /*

    GitHub | 1 year ago | andreasschrade
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. 0

    Reading text file into array

    Oracle Community | 1 decade ago | 807597
    java.lang.StringIndexOutOfBoundsException

    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: -1

      at java.lang.AbstractStringBuilder.deleteCharAt()
    2. Java RT
      StringBuffer.deleteCharAt
      1. java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:770)
      2. java.lang.StringBuffer.deleteCharAt(StringBuffer.java:382)
      2 frames
    3. com.icesoft.faces
      DataExporterRenderer.encodeBegin
      1. com.icesoft.faces.component.dataexporter.CSVOutputHandler.flushFile(CSVOutputHandler.java:18)
      2. com.icesoft.faces.component.dataexporter.DataExporterRenderer.renderToHandler(DataExporterRenderer.java:271)
      3. com.icesoft.faces.component.dataexporter.DataExporterRenderer.createFile(DataExporterRenderer.java:151)
      4. com.icesoft.faces.component.dataexporter.DataExporterRenderer.encodeBegin(DataExporterRenderer.java:42)
      4 frames