java.lang.RuntimeException: org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (file:/C:/export/home/apps/cgportal/vdabbki/svn/product/online-learning-exchange/components/ole-webapp/trunk/webapp/target/jasmine/src/lib/jquery/1.8.0/jquery-1.8.0.js#9017) Build info: version: '2.11.0', revision: '14435', time: '2011-10-28 18:01:56' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_24' Driver info: driver.version: HtmlUnitDriver

jquery.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Selenium Issue using jquery ui 1.8.23 - jQuery Forum

    jquery.com | 9 months ago
    java.lang.RuntimeException: org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (file:/C:/export/home/apps/cgportal/vdabbki/svn/product/online-learning-exchange/components/ole-webapp/trunk/webapp/target/jasmine/src/lib/jquery/1.8.0/jquery-1.8.0.js#9017) Build info: version: '2.11.0', revision: '14435', time: '2011-10-28 18:01:56' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_24' Driver info: driver.version: HtmlUnitDriver
  2. 0

    HtmlUnitDriver doesn't get the page with BrowserVersion set to CHROME

    Stack Overflow | 4 years ago | Kappei
    org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function attachEvent in object [object HTMLDocument]. (http://localhost:8080/js/jquery.js#865) Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_45' Driver info: driver.version: HtmlUnitDriver
  3. 0

    Selenium WebDriver Java RunTimeException thrown when trying to get the url's content

    Stack Overflow | 3 years ago | Marija Najdova
    org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "Element" is not defined. (http://www.eex.com/blueprint/assets/js/prototype-vendor.js#1) Build info: version: '2.43.0', revision: '597b76b', time: '2014-09-09 20:52:38' System info: host: 'Marija-PC', ip: '169.254.80.80', os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2', java.version: '1.7.0_60' Driver info: driver.version: HtmlUnitDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Html unit not compatible with jquery 2.0.3

    htmlunit | 4 years ago | cperot
    java.lang.RuntimeException: org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Impossible de trouver la fonction addEventListener dans lobjet {1} . (http://localhost:54173/src/resources/external/scripts/jquery.min.js#4) Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_30' Driver info: driver.version: HtmlUnitDriver
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. net.sourceforge.htmlunit.corejs.javascript.EcmaError

    TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (file:/C:/export/home/apps/cgportal/vdabbki/svn/product/online-learning-exchange/components/ole-webapp/trunk/webapp/target/jasmine/src/lib/jquery/1.8.0/jquery-1.8.0.js#9017)

    at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
  2. HtmlUnit Core JS
    ContextFactory.doTopCall
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3790)
    2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3768)
    3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3796)
    4. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3815)
    5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3885)
    6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2363)
    7. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2330)
    8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1514)
    9. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:854)
    10. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
    11. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)
    11 frames
  3. HtmlUnit
    HtmlUnitContextFactory.doTopCall
    1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
    1 frame
  4. HtmlUnit Core JS
    InterpretedFunction.exec
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3183)
    2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
    2 frames
  5. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:490)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:589)
    2 frames
  6. HtmlUnit Core JS
    ContextFactory.call
    1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)
    2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)
    2 frames
  7. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:499)
    2. com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:973)
    3. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:349)
    4. com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:230)
    5. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:240)
    6. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:598)
    6 frames
  8. Xerces2-j
    AbstractSAXParser.endElement
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    1 frame
  9. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:556)
    1 frame
  10. Maven
    HTMLConfiguration.parse
    1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1142)
    2. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1044)
    3. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
    4. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
    5. org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3018)
    6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2005)
    7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:908)
    8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
    9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
    9 frames
  11. Xerces2-j
    XMLParser.parse
    1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    1 frame
  12. HtmlUnit
    WebClient.getPage
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:789)
    2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:225)
    3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:179)
    4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:221)
    5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:106)
    6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:433)
    7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)
    8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:373)
    8 frames
  13. selenium-htmlunit-driver
    HtmlUnitDriver.get
    1. org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:345)
    2. org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:332)
    2 frames
  14. com.github.searls
    AbstractJasmineMojo.execute
    1. com.github.searls.jasmine.runner.SpecRunnerExecutor.execute(SpecRunnerExecutor.java:31)
    2. com.github.searls.jasmine.TestMojo.executeSpecs(TestMojo.java:57)
    3. com.github.searls.jasmine.TestMojo.run(TestMojo.java:35)
    4. com.github.searls.jasmine.AbstractJasmineMojo.execute(AbstractJasmineMojo.java:233)
    4 frames
  15. Maven Plugin
    DefaultPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    1 frame
  16. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
    3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
    4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    8 frames
  17. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    1 frame
  18. org.apache.maven
    CompatibleMain.main
    1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    1 frame
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  20. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames