org.openqa.selenium.WebDriverException

com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "XPathEvaluator" is not defined. (http://CDUMONT:51734/dojo_trunk/dojo/dojo.js#313(Function)#1(eval)#22) Build info: version: '2.33.0', revision: '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17' System info: os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2 build 9200', java.version: '1.6.0' Driver info: driver.version: HtmlUnitDriver

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 web832

  • : '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17' System info: os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2 build 9200', java.version: '1.6.0' Driver info: driver.version: HtmlUnitDriver
  • com.gargoylesoftware.htmlunit.ScriptException: Exception invoking jsConstructor Build info: version: '2.33.0', revision: '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17' System info: os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2 build 9200', java.version: '1.6.0' Driver info: driver.version: HtmlUnitDriver
  • Timed out waiting for driver server to start. Build info: version: '2.33.0', revision: '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17' System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_21' Driver info: driver.version: InternetExplorerDriver
  • Stack trace

    • org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "XPathEvaluator" is not defined. (http://CDUMONT:51734/dojo_trunk/dojo/dojo.js#313(Function)#1(eval)#22) Build info: version: '2.33.0', revision: '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17' System info: os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2 build 9200', java.version: '1.6.0' Driver info: driver.version: HtmlUnitDriver at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:376) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:355) at com.metservice.jasminerunner.TestPage.run(TestPage.java:52) at com.metservice.jasminerunner.junit.JasmineTestRunner.describeChild(JasmineTestRunner.java:322) at com.metservice.jasminerunner.junit.JasmineTestRunner.describeChild(JasmineTestRunner.java:1) at org.junit.runners.ParentRunner.getDescription(ParentRunner.java:290) at org.junit.runner.Runner.testCount(Runner.java:38) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.countTestCases(JUnit4TestClassReference.java:30) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.countTests(RemoteTestRunner.java:487) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:455) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "XPathEvaluator" is not defined. (http://CDUMONT:51734/dojo_trunk/dojo/dojo.js#313(Function)#1(eval)#22) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:601) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:601) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:576) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:1005) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventListeners(EventListenersContainer.java:175) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:235) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:803) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:737) at com.gargoylesoftware.htmlunit.html.HtmlElement$1.run(HtmlElement.java:867) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:601) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:872) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1268) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:222) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:309) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:366) ... 12 more Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: ReferenceError: "XPathEvaluator" is not defined. (http://CDUMONT:51734/dojo_trunk/dojo/dojo.js#313(Function)#1(eval)#22) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3603) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3587) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3657) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1749) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.name(ScriptRuntime.java:1690) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1622) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:405) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:275) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3031) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:103) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:594) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:654) ... 31 more

    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

    Once, 11 months ago
    4 times, 4 months ago
    2 times, 8 months ago
    Unknown user
    Once, 1 year ago
    9 times, 1 month ago
    1 more bugmates