java.lang.NullPointerException

htmlunit | aavaliani | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NullPointerException when saving page

    htmlunit | 6 years ago | aavaliani
    java.lang.NullPointerException
  2. 0

    NullPointerException while saving page being updated by javascript

    htmlunit | 10 months ago | constantinx
    java.lang.NullPointerException: null

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.gargoylesoftware.htmlunit.html.XmlSerializer.createAttributesCopyWithClonedAttribute()
    2. HtmlUnit
      HtmlPage.save
      1. com.gargoylesoftware.htmlunit.html.XmlSerializer.createAttributesCopyWithClonedAttribute(XmlSerializer.java:210)
      2. com.gargoylesoftware.htmlunit.html.XmlSerializer.getAttributesFor(XmlSerializer.java:193)
      3. com.gargoylesoftware.htmlunit.html.XmlSerializer.printOpeningTag(XmlSerializer.java:123)
      4. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:85)
      5. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      6. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      7. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      8. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      9. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      10. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      11. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      12. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      13. com.gargoylesoftware.htmlunit.html.XmlSerializer.printXml(XmlSerializer.java:95)
      14. com.gargoylesoftware.htmlunit.html.XmlSerializer.asXml(XmlSerializer.java:75)
      15. com.gargoylesoftware.htmlunit.html.XmlSerializer.save(XmlSerializer.java:56)
      16. com.gargoylesoftware.htmlunit.html.HtmlPage.save(HtmlPage.java:2250)
      16 frames
    3. tools.test
      HtmlUnitExample.main
      1. tools.test.HtmlUnitExample.main(HtmlUnitExample.java:40)
      1 frame