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)

htmlunit | *anonymous | 1 decade ago
  1. 0

    Silent Javascript Failure

    htmlunit | 1 decade ago | *anonymous
    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)
  2. 0

    iFrame fails with invalid uri

    htmlunit | 1 decade ago | wadexyz
    java.lang.IllegalArgumentException: Invalid uri '/adi/cobrands.investopedia.dart/microbuttons;sz=88x31;ord=<INSERT RANDOM NUMBER HERE>': escaped absolute path not valid at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:219) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88) at com.gargoylesoftware.htmlunit.HttpWebConnection.makeHttpMethod(HttpWebConnection.java:201) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:122) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1354) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1321) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:331) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:129) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java:114) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1410) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:141) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:433) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:344) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371) at com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:115) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:120)
  3. 0

    Re: url umlaut issue

    hc-httpclient-users | 6 years ago | David Motes
    java.lang.IllegalArgumentException: Invalid uri > 'http://thedömain.com/<http://xn--thedmain-q4a.com/>': > Invalid authority at > org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222) at > org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JMeter - User - iterating through urls from csv data set config using while loop controller

    nabble.com | 1 year ago
    java.lang.IllegalArgumentException: Invalid uri '<EOF>': escaped > > absolute path not valid at > > > org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java: > > 219) at > > > org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88 > > ) at > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2 > > .java:508) at > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > > erBase.java:684) at > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > > erBase.java:673) at > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
  6. 0

    Re: url umlaut issue

    hc-httpclient-users | 6 years ago | Minhaj
    java.lang.IllegalArgumentException: Invalid uri 'http://thedömain.com/ <http://xn--thedmain-q4a.com/>< > http://xn--thedmain-q4a.com/>': Invalid authority at > org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. ui.test.auto
      LargeTable.testStringFilter
      1. ui.test.auto.web.h4.LargeTable.testStringFilter(LargeTable.java:420)
      1 frame
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame