java.lang.ArrayIndexOutOfBoundsException: 4099

htmlunit | *anonymous | 7 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

    Bug in sniffEncodingFromMetaTag

    htmlunit | 7 years ago | *anonymous
    java.lang.ArrayIndexOutOfBoundsException: 4099

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      4099

      at com.gargoylesoftware.htmlunit.util.EncodingSniffer.indexOfSubArray()
    2. HtmlUnit
      WebResponseImpl.getContentAsString
      1. com.gargoylesoftware.htmlunit.util.EncodingSniffer.indexOfSubArray(EncodingSniffer.java:716)
      2. com.gargoylesoftware.htmlunit.util.EncodingSniffer.sniffEncodingFromMetaTag(EncodingSniffer.java:351)
      3. com.gargoylesoftware.htmlunit.util.EncodingSniffer.sniffHtmlEncoding(EncodingSniffer.java:225)
      4. com.gargoylesoftware.htmlunit.util.EncodingSniffer.sniffEncoding(EncodingSniffer.java:134)
      5. com.gargoylesoftware.htmlunit.WebResponseImpl.getContentCharsetOrNull(WebResponseImpl.java:179)
      6. com.gargoylesoftware.htmlunit.WebResponseImpl.getContentCharset(WebResponseImpl.java:191)
      7. com.gargoylesoftware.htmlunit.WebResponseImpl.getContentAsString(WebResponseImpl.java:205)
      7 frames