title: Jsoup after method doesn't work the way it's expected
body: <p>I have a method which has a property description of type "Element" and then I try to add another element using Jsoup.after method. </p>
  
  <p>However, it produces </p>
  
  <p><code>Exception in thread "main" java.lang.IllegalArgumentException: Object must not be null</code>.</p>
  
  <p>On the other hand, the append method works so well, but I that's not what I really want. </p>
  
  <p>The code is below:</p>
  
  <pre><code>private static void buildTotalvaluesTable2()
  {
      Element readyDesc = new Element("p style=\"margin-top:5px\"&gt;This is description&lt;/p");
  
      Element totalValuesTable = new Element("table style=\"width:100%; border: 0px; margin-top:20px;\" class=\"hidden\"&gt;" +
              "&lt;tbody&gt;&lt;/tbody&gt;" +
              "&lt;/table");
  
      readyDesc.after(totalValuesTable.outerHtml());
  
      System.out.println(readyDesc.outerHtml());
  }
  </code></pre>
  
  <p>What I really want to achieve is simply totalValuesTable going after readyDesc.</p>
  
  <p>Can anybody help?</p>