com.gargoylesoftware.htmlunit.ScriptException

Wrapped java.lang.Exception: Automation server can't create object (script in file:/home/jmpeters/dev/sutro/www/www/files/cooley/issue.html from (7, 54) to (13, 10)#10)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via htmlunit by j--p
    ,
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.Exception: Automation server can't create object (script in file:/home/jmpeters/dev/sutro/www/www/files/cooley/issue.html from (7, 54) to (13, 10)#10) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:534) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:464) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:992) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:164) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:177) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:584) at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:936) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:941) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1237) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:183) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371) at com.cooley.authentication.ActiveXIssue.main(ActiveXIssue.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) Caused by: net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped java.lang.Exception: Automation server can't create object (script in file:/home/jmpeters/dev/sutro/www/www/files/cooley/issue.html from (7, 54) to (13, 10)#10) at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773) at com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.jsConstructor(ActiveXObject.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:161) at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:419) at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:338) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3377) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:82) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:492) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:457) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528) ... 23 more Caused by: java.lang.Exception: Automation server can't create object ... 42 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

    We couldn't find other users who have seen this exception.