Hi, I'm getting following error message while writing to the pdf fields.
Here is error screen, http://itext-general.2136553.n4.nabble.com/file/n2716941/error.png Here is the code, PdfReader reader = new PdfReader(filePath); PdfStamper stamper = new PdfStamper(reader,new FileOutputStream(filePath)); AcroFields form = stamper.getAcroFields(); form.setField("project_no", webDoc.getItemValueString("ProjectNo")); form.setField("project", webDoc.getItemValueString("ProjectName")); form.setField("client", webDoc.getItemValueString("Client")); form.setField("project_area", webDoc.getItemValueString("ProjectArea")); form.setField("pdf_psu_unid", webDoc.getItemValueString("ProjectID")); stamper.setFormFlattening(true); System.out.println("Successfully written"); stamper.close(); I will appreciate any help on this. Rishi -- View this message in context: http://itext-general.2136553.n4.nabble.com/Error-pdfRandomAccessFileorArray-readFully-RandomAccessFileorRray-java-261-tp2716941p2716941.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/