java.lang.StringIndexOutOfBoundsException: String index out of range: 0

htmlunit | asoreng | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IndexOutOfBoundsException with empty meta refresh url

    htmlunit | 10 years ago | asoreng
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      String index out of range: 0

      at com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded()
    2. HtmlUnit
      HtmlPage.executeRefreshIfNeeded
      1. com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:1052)
      1 frame