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

    Seam pdf iText generation error

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


      Hi!
      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"
      title="Hello">
      <p:paragraph>Very tiny PDF, isnt it?</p:paragraph>
      </p:document>





      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?
      Thanks...