I'm am using Multivalent20060102.jar to validate pdf's.
Works great on many pdf's, except I got some exceptions on a couple of pdf's.
I run:
java -classpath c:\test\Multivalent20060102.jar tool.pdf.Validate -fast testfiles
The output in my cmd-console is:
C:\test\testfiles\test.pdf: java.lang.ArrayIndexOutOfBoundsException: 1654
The above test.pdf file will open fine in adobe reader 7.0.0
If needed I can provide 2 pdf files that give the same exception (but on different code linenumbers).
Running on Windows Xp.
java version info:
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
I tried to attach the pdf to this report but maximum upload size is 256k.
Please let me know where to email, in case you need 1 or 2 files that produce this error.
Greets,
Scott.
Logged In: NO
I just had this problem. The error ended up being how the pdf was created. Pdfs created using the PDFCreator tool work just fine. If you create them using Microsoft Word 2007's 'publish to PDF', it crashes with the java.lang.ArrayIndexOutOfBoundsException error.
cheers, Summer
summerl@eventzero.com