3 Replies Latest reply on Feb 21, 2010 5:43 PM by Tauseef Ahmed

    Seam pdf iText generation error

    Mustafa Celik Newbie

      Tue, 30 Jan 2007 03:32:41 -0800

      I'm trying to use iText PDF generation but when I access my simple pdf page
      (through a simple s:link)

      <p:document xmlns:p="http://jboss.com/products/seam/pdf"
      <p:paragraph>Very tiny PDF, isnt it?</p:paragraph>

      i made all the config. in component.xml, web.xml and copy the jar(itext and itext-rtf) in WEB-INF/lib. but i have java.lang.NullPointerException

      ERROR [View] Exception occured during rendering on http://localhost:8080/myapp/pdfExample.seam [/pdfExample.xhtml]
      Problem encountered during View.servePage 
      javax.faces.FacesException: Problem in renderResponse: null

      Any hint? or solution?