Error reading Pdf Document

I am using pdfBox & itext.jar for manipulating pdfs.
I get following error on reading a pdf (using itext.jar), generated by PdfMergeUtility(of pdfbox.jar)

15/06/30 14:39:58 java.io.IOException: '>' not expected at file pointer 6650508
15/06/30 14:39:58       at com.lowagie.text.pdf.PRTokeniser.throwError(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PRTokeniser.nextToken(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PRTokeniser.nextValidToken(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readArray(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readDictionary(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readDocObj(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
15/06/30 14:39:58       at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
itaakashcomAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
Can you read PDF file with Acrobat? Libreoffice? Ghostscript?
0
itaakashcomAuthor Commented:
The file is opening in Acrobat.
It is not opening in Libreoffice, says- 'General Input/Output Error'
I don't know how to use GhostScript to open a pdf.
0
gheistCommented:
It is incomplete pdf... Download/generate it again.
0
itaakashcomAuthor Commented:
Then why is it opening in Adobe Reader just fine??
0
gheistCommented:
Because acrobat does not expect documents to be standard conforming.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.