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)

htmlunit | j--p | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ActiveX-related regression from 1.x to 2.x

    htmlunit | 8 years ago | j--p
    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)

    Root Cause Analysis

    1. java.lang.Exception

      Automation server can't create object

      at com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.jsConstructor()
    2. HtmlUnit
      ActiveXObject.jsConstructor
      1. com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject.jsConstructor(ActiveXObject.java:127)
      1 frame
    3. 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:585)
      4 frames
    4. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:161)
      2. net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:419)
      3. net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:338)
      4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3377)
      5. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
      6. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      7. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
      7 frames
    5. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
      1 frame
    6. HtmlUnit Core JS
      InterpretedFunction.call
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
      2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
      2 frames
    7. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:82)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:492)
      3. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:457)
      4. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
      4 frames
    8. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
      2 frames
    9. HtmlUnit
      HtmlElement$2.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:464)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:992)
      3. com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:164)
      4. com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:177)
      5. com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:584)
      6. com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:936)
      6 frames
    10. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
      2 frames
    11. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:941)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1237)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:183)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371)
      7 frames
    12. com.cooley.authentication
      ActiveXIssue.main
      1. com.cooley.authentication.ActiveXIssue.main(ActiveXIssue.java:27)
      1 frame
    13. 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:585)
      4 frames
    14. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
      1 frame