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)

htmlunit | skipoles | 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

    Script error when using scriptaculous 1.7.0

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

    jwebunit test case throws exception

    Coderanch | 1 decade ago | Anil Prasad
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "style" from null (http://ebsi-dell-09:81/is-bin/intershop.static/WFS/PrcMindef/-/en_US/jscript/popcalendar.js#179)

    Root Cause Analysis

    1. 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()
    2. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:260)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:697)
      3. com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:188)
      4. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:455)
      5. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:415)
      5 frames
    3. Xerces2-j
      AbstractSAXParser.endElement
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579)
      1 frame
    4. Maven
      DefaultFilter.endElement
      1. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249)
      1 frame