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 | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Script error when using scriptaculous 1.7.0

    htmlunit | 10 years 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 | 10 years 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