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.

  • NPE with Promise and event handler
    via htmlunit by madisparn
    ,
  • .setValueAttribute NullPointerException
    via htmlunit by glchau
    ,
  • HtmlUnitDriver not working with Promises
    via Stack Overflow by Scott Nicklous
    ,
  • How to change HtmlUnit UserAgent
    via Stack Overflow by Collins
    ,
    • com.gargoylesoftware.htmlunit.ScriptException at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:904) 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:835) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:807) at com.gargoylesoftware.htmlunit.InteractivePage.executeJavaScriptFunctionIfPossible(InteractivePage.java:216) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventHandler(EventListenersContainer.java:295) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:315) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:206) at com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1180) 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.DomElement.fireEvent(DomElement.java:1185) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1213) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:272) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:518) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:385) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:303) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:450) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:435) at com.siemens.isb.test.utils.webservice.browserclients.AppRouterClient.redirectPage(AppRouterClient.java:594) at com.siemens.isb.test.utils.webservice.browserclients.AppRouterClient.main(AppRouterClient.java:555) Caused by: java.lang.NullPointerException at net.sourceforge.htmlunit.corejs.javascript.Delegator.getPrototype(Delegator.java:173) at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getProperty(ScriptableObject.java:1619) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1437) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1423) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3027) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at com.gargoylesoftware.htmlunit.javascript.host.event.EventHandler.call(EventHandler.java:82) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:828) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:889) ... 21 more
    No Bugmate found.