Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-14 Thread Glenn R
ext here <itext-questions@lists.sourceforge.net> Sent: Saturday, December 12, 2015 4:57 AM Subject: Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators You are using a version that dates from at least July 2009. You are exper

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-14 Thread glennr
I'm not using an old version.  I downloaded version 5.5.8 last Thursday to upgrade from a really old version I was using.  When I downloaded new version 5.5.8 is when my problem started.  Please advise.  Thanks. From: iText mailing list [via iText]

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-14 Thread glennr
This is the stack trace I get if it helps.  Thanks com.itextpdf.text.DocumentException: com.itextpdf.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators. at com.itextpdf.text.pdf.PdfDocument.add(PdfDocument.java:818) at

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-14 Thread mkl
glennr, glennr wrote > I'm not using an old version.  I downloaded version 5.5.8 last Thursday to > upgrade from a really old version I was using.  When I downloaded new > version 5.5.8 is when my problem started. You originally claimed: On Fri, 11 Dec 2015 06:40:27 -0800 (PST), glennr wrote:

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-14 Thread glennr
Thanks for your quick response. See attached example files with my report. ReportManager is the main driver class that sets variables and makes the call to generate the warrant report. This is a prototype so please excuse all the commented code of different things I am trying.

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-14 Thread mkl
glennr wrote > See attached example files with my report. ReportManager is the main > driver class that sets variables and makes the call to generate the > warrant report. This is a prototype so please excuse all the commented > code of different things I am trying. > ReportManager.java >

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-12 Thread glennr
I am getting the same error when I try to add multiple PdfPTable objects to a document. doc.add(table1); doc.add(table2); doc.close(); The thread mentioned doing a cb.saveState() and a cb.restoreState(). What is "cb"?? Thanks. -- View this message in context:

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-12 Thread info
You are using a version that dates from at least July 2009. You are experiencing a bug that has been fixed many years ago. Please upgrade to a recent version of iText if you want to solve your problem. On Fri, 11 Dec 2015 06:40:27 -0800 (PST), glennr wrote: > I am getting the

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-11 Thread glennr
I am getting the same error when I try to add multiple PdfPTable objects to a document. doc.add(table1); doc.add(table2); doc.close(); The thread mentioned doing a cb.saveState() and a cb.restoreState(). What is "cb"?? Thanks. -- View this message in context:

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2015-12-11 Thread glennr
I am getting the same error when I try to add multiple PdfPTable objects to a document. doc.add(table1); doc.add(table2); doc.close(); The thread mentioned doing a cb.saveState() and a cb.restoreState(). What is "cb"?? Thanks. -- View this message in context:

Re: [iText-questions] com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators

2012-04-06 Thread 1T3XT BVBA
On 6/04/2012 7:13, Yadhagiri Chilukuri wrote: HI , I got this exception what are the situation came this exception : com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators give me sugetion how to debug *itext* code when the have face this type of