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)

htmlunit | wadexyz | 1 decade 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

    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)

    Root Cause Analysis

    1. 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)

      at com.tradeeng.TradeEngine.main()
    2. com.tradeeng
      TradeEngine.main
      1. com.tradeeng.TradeEngine.main(TradeEngine.java:44)
      1 frame