net.sourceforge.htmlunit.corejs.javascript.WrappedException

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.

  • HtmlUnitDriver not working with Promises
    via Stack Overflow by Scott Nicklous
    ,
  • NPE with Promise and event handler
    via htmlunit by madisparn
    ,
  • .setValueAttribute NullPointerException
    via htmlunit by glchau
    ,
    • net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped java.lang.NullPointerException at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Context.java:2053)[htmlunit-core-js-2.17.jar:na] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:947)[htmlunit-2.21.jar:2.21] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:1012)[htmlunit-2.21.jar:2.21] at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:799)[htmlunit-2.21.jar:2.21] at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:742)[htmlunit-2.21.jar:2.21] at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:689)[htmlunit-2.21.jar:2.21] at cz.profiler.worker.sklik.SklikSearchWorker.searchOnSklik(SklikSearchWorker.java:153)[classes/:na] at cz.profiler.worker.sklik.SklikSearchWorker.processMessage(SklikSearchWorker.java:110)[classes/:na] at cz.profiler.worker.QueueProcessingWorker.onLoop(QueueProcessingWorker.java:61)[classes/:na] at cz.profiler.worker.AbstractWorkerBase.run(AbstractWorkerBase.java:59)[classes/:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_74] Caused by: java.lang.NullPointerException: null at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.hasTopCall(ScriptRuntime.java:3263)[htmlunit-core-js-2.17.jar:na] at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:102)[htmlunit-core-js-2.17.jar:na] at com.gargoylesoftware.htmlunit.javascript.host.Promise$1.execute(Promise.java:122)[htmlunit-2.21.jar:2.21] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:942)[htmlunit-2.21.jar:2.21] ... 9 more
    No Bugmate found.