java.lang.NullPointerException

htmlunit | leebutts | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NullPointer exception

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

    Spurious NPE in WebClient.loadDownloadedResponses

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

    Automated exception search integrated into your IDE

  4. 0

    NullPointerException when calling WebClient.closeAllWindows

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.gargoylesoftware.htmlunit.javascript.host.Event.<init>()
    2. HtmlUnit
      HtmlElement.click
      1. com.gargoylesoftware.htmlunit.javascript.host.Event.<init>(Event.java:274)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1153)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.isOnbeforeunloadAccepted(HtmlPage.java:2081)
      4. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:281)
      5. com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:136)
      6. com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java:95)
      7. com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1772)
      8. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:196)
      9. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:427)
      10. com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2136)
      11. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:553)
      12. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:631)
      13. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1254)
      14. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1212)
      15. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1179)
      15 frames
    3. com.canoo.webtest
      ClickLink.findTarget
      1. com.canoo.webtest.steps.request.ClickLink.findTarget(ClickLink.java:70)
      1 frame