Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. WebClient.getPage() has thrown a ScriptException
    HtmlUnit
    0
    0
    0
  2. WebClient.getPage() has thrown a ScriptException
    HtmlUnit
    1
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Expected argument of type object, but instead had type string (script in http://localhost:8000/prototype-stuff.html from (1, 9) to (37, 10)#17)
32 matching frames hidden
    at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:455)
    at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:440)
    at com.debug.functionalities.SymbolTest.test(SymbolTest.java:23)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
25 frames hidden

External results for this pattern (2)

  1. blooovia htmlunit4 months ago
    TypeError: Expected argument of type object, but instead had type string (script in http://localhost:8000/prototype-stuff.html from (1, 9) to (37, 10)#17)
    Show stack trace
  2. blooovia htmlunit1 year ago
    TypeError: net.sourceforge.htmlunit.corejs.javascript.Undefined@1951b871 is not a function, it is undefined. (script in http://localhost:8000/function.html from (4, 54) to (18, 10)#14)
    Show stack trace