Op 5/07/2013 11:31, Gajanand Shendge schreef: > I am facing a problem while generating pdf of my JFrame.The problem > is.... > > com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced > save/restore state operators. > > > Please solve the problem.... > I use itext-2.1.7.jar library for PDF.
That exception is thrown by iText to tell you that YOU have a bug in YOUR software. This means that ONLY YOU can solve the problem, by making sure all your save and restore state calls are balanced. You shouldn't expect any help from us as you're using an iText version that dates from 2009. That version is no longer supported: see http://lowagie.com/itext2 Moreover: there are plenty of (barely legal) forks of that old version of iText on different sites. People publishing such a fork could easily have introduced stuff that isn't endorsed by us. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php