Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread iText Info
Op 25/06/2012 13:51, Sunil Belurgikar schreef: > Don't send these mails to me > I am a unsubscribed user. No you aren't. 1. You wouldn't be able to send a mail to the list if you weren't still subscribed. 2. I can still see you in the Membership list. I'll unsubscribe you, but in the future, plea

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Valentin Ivanov
Thank you both, you are so fast, I have download the java file and tried it. It now works fine! Best Regards -- View this message in context: http://itext-general.2136553.n4.nabble.com/ClassCastException-when-using-iText5-2-1-tp4655413p4655433.html Sent from the iText - General mailing list arch

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Valentin Ivanov
Hi, you both are right. If I remove /Trapped, I have no exception, but on *some* files even if /Trapped is still there if I retype /Producer I have no exception as well. -- View this message in context: http://itext-general.2136553.n4.nabble.com/ClassCastException-when-using-iText5-2-1-tp4655413

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Sunil Belurgikar
From: Paulo Soares [mailto:[email protected]] Sent: Monday, June 25, 2012 5:18 PM To: Post all your questions about iText here Subject: Re: [iText-questions] ClassCastException when using iText5.2.1 I suspect that it's not "producer" but rather "trapped" that is a name

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Sunil Belurgikar
questions] ClassCastException when using iText5.2.1 I suspect that it's not "producer" but rather "trapped" that is a name and correctly so. It may be an iText bug, I'll check it out tonight. Paulo On Mon, Jun 25, 2012 at 12:21 PM, Valentin Ivanov wrote: >

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread iText Info
Op 25/06/2012 13:48, Paulo Soares schreef: > I suspect that it's not "producer" but rather "trapped" that is a name > and correctly so. It may be an iText bug, I'll check it out tonight. It's fixed in the SVN repository. The fix will be in iText 5.3.1 (scheduled for August or September). Date:

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread iText Info
Op 25/06/2012 13:48, Paulo Soares schreef: > I suspect that it's not "producer" but rather "trapped" that is a name > and correctly so. It may be an iText bug, I'll check it out tonight. I saw the Trapped too. I was about to write a test app to see what goes on. In any case: the Producer entry look

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Paulo Soares
I suspect that it's not "producer" but rather "trapped" that is a name and correctly so. It may be an iText bug, I'll check it out tonight. Paulo On Mon, Jun 25, 2012 at 12:21 PM, Valentin Ivanov wrote: > I figured out which item exactly cause the exception and this is Producer. > Right now it h

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Valentin Ivanov
I figured out which item exactly cause the exception and this is Producer. Right now it hase value "TCPDF 5.9.162 (http://www.tcpdf.org)" , but according to this http://sourceforge.net/projects/tcpdf/forums/forum/435311/topic/4392795 HERE we should not change it because of license agreement. So w

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-25 Thread Valentin Ivanov
I would like to say that the PDF file is created using http://www.tcpdf.org and PHP. So the creation of the document is as : / // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); // set document information $pdf->SetCreator(PDF_CREAT

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-24 Thread Valentin Ivanov
Hi, I am uploading the file in question. http://itext-general.2136553.n4.nabble.com/file/n4655422/Form5a.pdf Form5a.pdf Thank you Best Regards -- View this message in context: http://itext-general.2136553.n4.nabble.com/ClassCastException-when-using-iText5-2-1-tp4655413p4655422.html Sent from th

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-24 Thread Valentin Ivanov
Hi Alexis, I am using iText5.2.1 because I also use BC1.46. I will upgrade to BC1.47 ANd iText5.3.x but right now i have to use BC1.46. Thank you -- View this message in context: http://itext-general.2136553.n4.nabble.com/ClassCastException-when-using-iText5-2-1-tp4655413p4655421.html Sent from t

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-22 Thread iText Info
Op 22/06/2012 16:00, Valentin Ivanov schreef: > The exception is at stamp.close(); Why this error happens? Please see Table 317 of ISO-32000-1 (p550). The items Title, Author, Subject,... need to have text strings as values. Based on your report, I think your PDFs have name values instead of string

Re: [iText-questions] ClassCastException when using iText5.2.1

2012-06-22 Thread Alexis Pigeon
Hi Valentin On 22 June 2012 16:00, Valentin Ivanov wrote: > Hi, > > when I use iText5.1.2 i have no problems, but when I use iText5.2.1 I have > the following exception: > [...] Any particular reason why you are trying to use 5.2.1? 5.3.0 has been released a couple of days ago, does it throw t

[iText-questions] ClassCastException when using iText5.2.1

2012-06-22 Thread Valentin Ivanov
Hi, when I use iText5.1.2 i have no problems, but when I use iText5.2.1 I have the following exception: / java.lang.ClassCastException: com.itextpdf.text.pdf.PdfName cannot be cast to com.itextpdf.text.pdf.PdfString at com.itextpdf.text.xml.xmp.XmpWriter.(XmpWriter.java:210) at com