java.lang.ArrayIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Bug in sniffEncodingFromMetaTag
    via htmlunit by *anonymous
    ,
    • java.lang.ArrayIndexOutOfBoundsException: 4099 at com.gargoylesoftware.htmlunit.util.EncodingSniffer.indexOfSubArray(EncodingSniffer.java:716) at com.gargoylesoftware.htmlunit.util.EncodingSniffer.sniffEncodingFromMetaTag(EncodingSniffer.java:351) at com.gargoylesoftware.htmlunit.util.EncodingSniffer.sniffHtmlEncoding(EncodingSniffer.java:225) at com.gargoylesoftware.htmlunit.util.EncodingSniffer.sniffEncoding(EncodingSniffer.java:134) at com.gargoylesoftware.htmlunit.WebResponseImpl.getContentCharsetOrNull(WebResponseImpl.java:179) at com.gargoylesoftware.htmlunit.WebResponseImpl.getContentCharset(WebResponseImpl.java:191) at com.gargoylesoftware.htmlunit.WebResponseImpl.getContentAsString(WebResponseImpl.java:205)
    No Bugmate found.