com.gargoylesoftware.htmlunit.ScriptException

TypeError: Cannot find function getElementsBySelector. (Embedded script in http://localhost:8080/simplescrum/test.html from (14, 13) to (0, 0)#3)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web322

  • TypeError: Cannot find function getElementsBySelector. (Embedded script in http://localhost:8080/simplescrum/test.html from (14, 13) to (0, 0)#3)
  • TypeError: hp_d01 is not a function, it is null. (Embedded script in http://localhost/tt/htmunittest.htm from (3, 31) to (0, 0)#3)
  • syntax error (script in http://localhost:8080/test.html from (3, 39) to (7, 18)#6)
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getElementsBySelector. (Embedded script in http://localhost:8080/simplescrum/test.html from (14, 13) to (0, 0)#3) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:260) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:697) at com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:188) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:455) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:415) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249)

    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

    You’re the first here who have seen this exception.