org.openqa.selenium.WebDriverException: 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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via htmlunit by chuckdumont
, 1 year ago
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
via htmlunit by luizwbr
, 9 months ago
com.gargoylesoftware.htmlunit.ScriptException: Exception invoking getUrl Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'XXX', ip: '0.0.0.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60' Driver info: driver.version: HtmlUnitDriver
via Stack Overflow by Luiz Felipe Weber
, 9 months ago
com.gargoylesoftware.htmlunit.ScriptException: Exception invoking getUrl Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'XXX', ip: '0.0.0.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60' Driver info: driver.version: HtmlUnitDriver
via Stack Overflow by Bob
, 10 months ago
: '2016-01-29 19:08:26' System info: host: 'N/A', ip: 'N/A', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-229.el7.x86_64', java.version: '1.7.0_75' Driver info: driver.version: EventFiringWebDriver
via Stack Overflow by user7011384
, 1 year ago
com.gargoylesoftware.htmlunit.ScriptException: Exception invoking createElement Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 13:11:40' System info: host: 'CC-88789', ip: '192.100.72.66
via htmlunit by amodmahajan
, 10 months ago
com.gargoylesoftware.htmlunit.ScriptException: Exception invoking constructor Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'DESKTOP-G2E94QN', ip: '172.16.2.152', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101' Driver info: driver.version: HtmlUnitDriver
org.openqa.selenium.WebDriverException: 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
at com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.getMethod(ActiveXObject.java:321)
at com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.addProperty(ActiveXObject.java:297)
at com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.addProperty(ActiveXObject.java:291)
at com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.buildXMLDocument(ActiveXObject.java:259)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:390)
at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:374)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1586)
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.ScriptRuntime.doTopCall(ScriptRuntime.java:3031)
at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:81)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:602)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:609)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:584)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:985)
at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:210)
at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:230)
at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:814)
at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:738)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:870)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1248)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:260)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:443)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)
at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:366)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPage2(WebDriverTestCase.java:562)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPage2(WebDriverTestCase.java:534)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:616)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:576)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at com.gargoylesoftware.htmlunit.BrowserStatement.evaluateSolo(BrowserStatement.java:69)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.