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

Oracle Community | 807555 | 2 decades ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Can Java read and write PDF file?

    Oracle Community | 2 decades ago | 843811
    java.lang.StringIndexOutOfBoundsException: String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
  2. 0

    Can Java read and write PDF file?

    Oracle Community | 2 decades ago | 843811
    java.lang.StringIndexOutOfBoundsException: String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
  3. 0

    Can Java read and write PDF file?

    Oracle Community | 2 decades ago | 807555
    java.lang.StringIndexOutOfBoundsException: String index out of range: -41 at java.lang.String.charAt(String.java, Compiled Code)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

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

      at sun.io.ByteToCharMS950.getUnicode()
    2. sun.io
      ByteToCharDoubleByte.convert
      1. sun.io.ByteToCharMS950.getUnicode(ByteToCharMS950.java:39)
      2. sun.io.ByteToCharDoubleByte.convert(ByteToCharDoubleByte.java:115)
      2 frames
    3. Java RT
      BufferedReader.fill
      1. java.io.InputStreamReader.convertInto(InputStreamReader.java:127)
      2. java.io.InputStreamReader.fill(InputStreamReader.java:176)
      3. java.io.InputStreamReader.read(InputStreamReader.java:239)
      4. java.io.BufferedReader.fill(BufferedReader.java:137)
      4 frames