java.lang.IllegalArgumentException

Host of origin may not be blank at org.apache.commons.httpclient.cookie.CookieSpecBase.mat ch(CookieSpecBase.java:534) at org.apache.commons.httpclient.HttpMethodBase.addCookieR equestHeader(HttpMethodBase.java:1219) at org.apache.commons.httpclient.HttpMethodBase.addRequest Headers(HttpMethodBase.java:1351) at org.apache.commons.httpclient.HttpMethodBase.writeReques tHeaders(HttpMethodBase.java:1986) at org.apache.commons.httpclient.HttpMethodBase.writeReques t(HttpMethodBase.java:1925) at org.apache.commons.httpclient.HttpMethodBase.processReq uest(HttpMethodBase.java:2251) at org.apache.commons.httpclient.HttpMethodBase.execute (HttpMethodBase.java:863) at org.apache.commons.httpclient.HttpClient.executeMethod (HttpClient.java:574) at org.apache.commons.httpclient.HttpClient.executeMethod (HttpClient.java:493) at com.gargoylesoftware.htmlunit.HttpWebConnection.getRespo nse(HttpWebConnection.java:90) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse (WebClient.java:928) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse (WebClient.java:968) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScript FromUrl(HtmlPage.java:762) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeScriptT agsIfNeeded(HtmlPage.java:750) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize (HtmlPage.java:102) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:322) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:242) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:186)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via htmlunit by *anonymous
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Host of origin may not be blank at org.apache.commons.httpclient.cookie.CookieSpecBase.mat ch(CookieSpecBase.java:534) at org.apache.commons.httpclient.HttpMethodBase.addCookieR equestHeader(HttpMethodBase.java:1219) at org.apache.commons.httpclient.HttpMethodBase.addRequest Headers(HttpMethodBase.java:1351) at org.apache.commons.httpclient.HttpMethodBase.writeReques tHeaders(HttpMethodBase.java:1986) at org.apache.commons.httpclient.HttpMethodBase.writeReques t(HttpMethodBase.java:1925) at org.apache.commons.httpclient.HttpMethodBase.processReq uest(HttpMethodBase.java:2251) at org.apache.commons.httpclient.HttpMethodBase.execute (HttpMethodBase.java:863) at org.apache.commons.httpclient.HttpClient.executeMethod (HttpClient.java:574) at org.apache.commons.httpclient.HttpClient.executeMethod (HttpClient.java:493) at com.gargoylesoftware.htmlunit.HttpWebConnection.getRespo nse(HttpWebConnection.java:90) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse (WebClient.java:928) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse (WebClient.java:968) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScript FromUrl(HtmlPage.java:762) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeScriptT agsIfNeeded(HtmlPage.java:750) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize (HtmlPage.java:102) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:322) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:242) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:186) at ui.test.auto.web.h4.LargeTable.testStringFilter(LargeTable.java:420) at java.lang.reflect.Method.invoke(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.