java.lang.StringIndexOutOfBoundsException: String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)

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

Solutions on the web

via Oracle Community by 807555, 1 year ago
String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
via Oracle Community by 843811, 1 year ago
String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
via Oracle Community by 843811, 1 year ago
String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
java.lang.StringIndexOutOfBoundsException: String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
at sun.io.ByteToCharMS950.getUnicode(ByteToCharMS950.java:39)
at sun.io.ByteToCharDoubleByte.convert(ByteToCharDoubleByte.java:115)
at java.io.InputStreamReader.convertInto(InputStreamReader.java:127)
at java.io.InputStreamReader.fill(InputStreamReader.java:176)
at java.io.InputStreamReader.read(InputStreamReader.java:239)
at java.io.BufferedReader.fill(BufferedReader.java:137)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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