java.lang.IllegalArgumentException: Host of origin may not be blank

htmlunit | bug55cv | 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

    HtmlUnit / Bugs / #1165 Exception when querying the cookies for "about:blank"

    sourceforge.net | 9 months ago
    java.lang.IllegalArgumentException: Host of origin may not be blank
  2. 0

    Exception when querying the cookies for "about:blank"

    htmlunit | 7 years ago | bug55cv
    java.lang.IllegalArgumentException: Host of origin may not be blank
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GAE and HtmlUnit 2.9 - getting exception upon jsxGet_cookie

    Stack Overflow | 6 years ago
    java.lang.IllegalArgumentException: Invalid port: -1

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Host of origin may not be blank

      at org.apache.http.cookie.CookieOrigin.<init>()
    2. Apache HttpClient
      CookieOrigin.<init>
      1. org.apache.http.cookie.CookieOrigin.<init>(CookieOrigin.java:54)
      1 frame
    3. HtmlUnit
      CookieManager.getCookies
      1. com.gargoylesoftware.htmlunit.CookieManager.getCookies(CookieManager.java:135)
      1 frame
    4. test.com.gargoylesoftware
      CookieManagerTest.cookiesForAboutBlank
      1. test.com.gargoylesoftware.htmlunit.CookieManagerTest.cookiesForAboutBlank(CookieManagerTest.java:19)
      1 frame