Trying to add an HtmlArea to a PDF and it is throwing an exception...
HtmlArea htmlArea = new HtmlArea("<b>This is a test.</b>", 0, 0,500,650);
objPage.getElements().add(htmlArea);
WARNING: java.lang.NullPointerException
at com.cete.dynamicpdf.text.y.a(Unknown Source)
at com.cete.dynamicpdf.text.y.a(Unknown Source)
at com.cete.dynamicpdf.text.y.a(Unknown Source)
at com.cete.dynamicpdf.text.y.a(Unknown Source)
at com.cete.dynamicpdf.text.y.searchByFamilyAndSubFamilyName(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.fn.a(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.fn.a(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.gz.a(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.a6.a(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.U.c(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.ab.a(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.HtmlArea.j(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.HtmlArea.i(Unknown Source)
at com.cete.dynamicpdf.pageelements.html.HtmlArea.drawRotated(Unknown Source)
at com.cete.dynamicpdf.pageelements.RotatingPageElement.draw(Unknown Source)
at com.cete.dynamicpdf.pageelements.Group.draw(Unknown Source)
at com.cete.dynamicpdf.Page.drawAppend(Unknown Source)
at com.cete.dynamicpdf.Page.a(Unknown Source)
at com.cete.dynamicpdf.Page.a(Unknown Source)
at com.cete.dynamicpdf.io.K.i(Unknown Source)
at com.cete.dynamicpdf.io.K.draw(Unknown Source)
at com.cete.dynamicpdf.Document.a(Unknown Source)
at com.cete.dynamicpdf.Document.drawToWeb(Unknown Source)
at com.donations4education.printoutCreator.doGet(printoutCreator.java:455)