java.lang.NullPointerException

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.

  • NullPointer exception
    via htmlunit by leebutts
    ,
  • Example HtmlUnit Test Failing
    via Stack Overflow by empire29
    ,
    • java.lang.NullPointerException: No document element (about:blank) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1165) at com.gargoylesoftware.htmlunit.html.HtmlPage.cleanUp(HtmlPage.java:243) at com.gargoylesoftware.htmlunit.WebWindowImpl.destroyChildren(WebWindowImpl.java:178) at com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:106) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:200) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:179) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:221) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:106) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:436) at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2199) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:624) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:706) at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1247) at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1190)
    No Bugmate found.