Send the "bad" pdf to [EMAIL PROTECTED] Best Regards, Paulo Soares
----- Original Message ----- From: "Dan Randall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 20, 2002 6:49 Subject: [iText-questions] What Do These Errors Indicate? > Hi, > > I am using iText 0.90 and with some PDF's I get an error by calling the getPageSize method of a PDFReader object. The errors look like: > > starting application C:\java\itext\concat\Concat.class > Command line: C:\jdk1.3.1_03\bin\java.exe -classpath "C:\java\itext\concat" > Concat > The current directory is: C:\java\itext\concat > Prepopulation of forms test... > There are 4 pages > java.lang.ClassCastException: com.lowagie.text.pdf.PRLiteral > at com.lowagie.text.pdf.PdfReader.getNormalizedRectangle(Unknown > Source) > at com.lowagie.text.pdf.PdfReader.getPageSize(Unknown Source) > at Concat.main(Concat.java:22) > Interactive Session Ended > > What does it mean? The same source file compiles a working class with some PDF's, but not others. Any idea what's wrong with some of the PDF's? What can I do about it? I noticed that other methods that indirectly call getPageSize also fail on a "bad" PDF. > > Thanks!! > > Dan Randall > _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions