2 Replies Latest reply on Oct 1, 2010 5:37 AM by ramakrishna62

    what is the reason for following error?

    ramakrishna62 Newbie

      ExceptionConverter: java.io.IOException: The document has no pages.
           at com.lowagie.text.pdf.PdfPages.writePageTree(Unknown Source)
           at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
           at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
           at com.lowagie.text.Document.close(Unknown Source)
           at org.jboss.seam.pdf.ui.UIDocument.encodeEnd(UIDocument.java:318)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
           at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
           at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           at