java.lang.NullPointerException: No document element (about:blank)

htmlunit | ruralhunter | 6 years ago
  1. 0

    NullPointerException when calling WebClient.closeAllWindows

    htmlunit | 6 years ago | ruralhunter
    java.lang.NullPointerException: No document element (about:blank)
  2. 0

    Spurious NPE in WebClient.loadDownloadedResponses

    htmlunit | 6 years ago | dsmiley
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NullPointer exception

    htmlunit | 7 years ago | leebutts
    java.lang.NullPointerException
  5. 0

    NullPointerException when calling WebClient.closeAllWindows

    htmlunit | 6 years ago | ruralhunter
    java.lang.NullPointerException: No document element (about:blank)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No document element (about:blank)

      at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded()
    2. HtmlUnit
      HtmlElement.click
      1. com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1165)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.cleanUp(HtmlPage.java:243)
      3. com.gargoylesoftware.htmlunit.WebWindowImpl.destroyChildren(WebWindowImpl.java:178)
      4. com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:106)
      5. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:200)
      6. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:179)
      7. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:221)
      8. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:106)
      9. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:436)
      10. com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2199)
      11. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:624)
      12. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:706)
      13. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1247)
      14. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1190)
      14 frames