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) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:947) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:1012) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:799) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:742) at org.openqa.selenium.htmlunit.HtmlUnitMouse.click(HtmlUnitMouse.java:67) at org.openqa.selenium.htmlunit.HtmlUnitWebElement.click(HtmlUnitWebElement.java:154) at javax.portlet.tck.driver.BugTest.main(BugTest.java:63) Caused by: java.lang.NullPointerException at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.hasTopCall(ScriptRuntime.java:3263) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:102) at com.gargoylesoftware.htmlunit.javascript.host.Promise$1.execute(Promise.java:122) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:942) ... 6 more
    No Bugmate found.