com.gargoylesoftware.htmlunit.ScriptException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • getBoundingClientRect not supported
    via htmlunit by jevonwright
    ,
  • Running AngularJS tests with maven
    via Stack Overflow by Sri
    ,
    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (http://localhost:8080/share/res/js/yui-common.js#11) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:584)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:534)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:509)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:902)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob.runJavaScript(JavaScriptFunctionJob.java:53)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutionJob.run(JavaScriptExecutionJob.java:101)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:324)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:153)[htmlunit-2.10-SNAPSHOT.jar:2.10-SNAPSHOT] at java.lang.Thread.run(Unknown Source)[na:1.6.0_25] Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (http://localhost:8080/share/res/js/yui-common.js#11) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3790)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3768)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3796)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3815)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3885)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2363)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2315)[htmlunit-core-js-2.10-SNAPSHOT.jar:na] at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getElemFunctionAndThis(ScriptRuntime.java:2267)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]

    Users with the same issue

    David
    9 times, last one,
    raytest
    4 times, last one,
    MoYapro
    2 times, last one,
    mellson
    1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates