java.lang.NullPointerException

htmlunit | rydenius | 6 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

    NullPointerException in DomNode.isDisplayed()

    htmlunit | 6 years ago | rydenius
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.<init>()
    2. HtmlUnit
      DomNode.asText
      1. com.gargoylesoftware.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration.<init>(ComputedCSSStyleDeclaration.java:101)
      2. com.gargoylesoftware.htmlunit.javascript.host.Window.jsxFunction_getComputedStyle(Window.java:1424)
      3. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.jsxGet_currentStyle(HTMLElement.java:204)
      4. com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:669)
      5. com.gargoylesoftware.htmlunit.html.HtmlSerializer.isVisible(HtmlSerializer.java:364)
      6. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendText(HtmlSerializer.java:354)
      7. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:117)
      8. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      9. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      10. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      11. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      12. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      13. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      14. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      15. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      16. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      17. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      18. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      19. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      20. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      21. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      22. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      23. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      24. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      25. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      26. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:232)
      27. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:189)
      28. com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:48)
      29. com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:722)
      29 frames