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

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:770)
at java.lang.StringBuffer.deleteCharAt(StringBuffer.java:382)
at com.icesoft.faces.component.dataexporter.CSVOutputHandler.flushFile(CSVOutputHandler.java:18)
at com.icesoft.faces.component.dataexporter.DataExporterRenderer.renderToHandler(DataExporterRenderer.java:271)
at com.icesoft.faces.component.dataexporter.DataExporterRenderer.createFile(DataExporterRenderer.java:151)
at com.icesoft.faces.component.dataexporter.DataExporterRenderer.encodeBegin(DataExporterRenderer.java:42)

Users with the same issue

2 times, 3 months ago
8 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.