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.

  • NPE with Promise and event handler
    via htmlunit by madisparn
    ,
  • HtmlUnitDriver not working with Promises
    via Stack Overflow by Scott Nicklous
    ,
  • .setValueAttribute NullPointerException
    via htmlunit by glchau
    ,
    • net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped java.lang.NullPointerException at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Con text.java:2053) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:1007) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:1072) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:789) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:732) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:679) at recaptchatest.Main.main(Main.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) 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:136)
    No Bugmate found.