Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-18 Thread subrah
Hi All, So i seem to have found a solution to the issue. basically i am using a lock around the the thread that calls the water marking component. no changes in the code i sent earlier. Thanks for all the help. Subrah Mike Marchywka-2 wrote:

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-17 Thread subrah
Hey Mark, great point, sorry i missed. Yes it's a heavily multi threaded environement. Paulo said i should check out the code in SVN? I will ask him about the respository url to get the code from SVN? i am thankful for any more suggestions you have. Thanks Subrah Mark Storer-2 wrote:

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-17 Thread subrah
Hi Paulo, Thank you. Sorry if i am missing something. so where is the SVN repository url to check out the code for multi threading? Thanks Subrah Paulo Soares-3 wrote: Try the code in the SVN, it fixes a problem in heavy multithreading. Paulo - Original Message - From:

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-17 Thread Paulo Soares
https://itextsharp.svn.sourceforge.net/svnroot/itextsharp/trunk/src/core -Original Message- From: subrah [mailto:subnibh...@gmail.com] Sent: Tuesday, November 17, 2009 4:32 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Root Object is invalid or

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-17 Thread subrah
Sorry Just had a meeting ..i am running in to go/ no go situation here. quite a lot of files there(SVN).. any specfic ones you'd like me to look at for multi threading? i feel so close yet not fully there.. any help would be much appreciated here.. i have attached more files which were corrupted

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-17 Thread Mike Marchywka
Date: Tue, 17 Nov 2009 12:22:09 -0800 From: To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp Sorry Just had a meeting ..i am running in to

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-16 Thread subrah
Hi All, I am wondering why nobody is interested in responding to my question? I seem to have found a fix but just wanted to confirm with experts on this forum. So any help is greatly appreciated. Thanks Subrah subrah wrote: Hi Sorry resending this post as i was not registered user

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-16 Thread Mark Storer
A: Most of the folks on the list lean toward Java. B: If no one knows the answer, no one answers. Perhaps you could post one of your corrupted PDFs? --Mark Storer Senior Software Engineer Cardiff.com #include disclaimer typedef std::DisclaimerCardiff DisCard; -Original

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-16 Thread 1T3XT info
Mark Storer wrote: A: Most of the folks on the list lean toward Java. B: If no one knows the answer, no one answers. C: I've created thousands of PDFs using iText, and I've never had an invalid or missing root object. I also couldn't reproduce the problem in Java, and it's not my problem if I

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-16 Thread subrah
Attached is the corrupt file. if i try to read the corrupted file using pdfreader i get the error message saying start ref not found. But the issue is that problem is not consistant. I am able to water mark the same original file 2nd time using the same code. So it's like randomly some file is

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-16 Thread Mark Storer
That file is horrifically mangled all right. The cross reference (xref) table at the end doesn't list all the objects in the file, not by a long shot. The root object, 69, is among those AWOL from the xref... leading to the error you're getting. WHY is it missing? I'm not sure. The xref

Re: [iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-16 Thread Paulo Soares
Try the code in the SVN, it fixes a problem in heavy multithreading. Paulo - Original Message - From: subrah subnibh...@gmail.com To: itext-questions@lists.sourceforge.net Sent: Monday, November 16, 2009 8:12 PM Subject: Re: [iText-questions] Root Object is invalid or missing after PDF