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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via htmlunit by *anonymous
, 1 year ago
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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.