JHOVE Error Messages

Skip to end of metadata
Go to start of metadata

In my sample, I have found 35 error messages concerning invalid or malformed (or both) PDF Files:

  1. PdfMalformedException: Invalid name tree Offset: 541014
  2. Invalid destination object
  3. Expected dictionary for font entry in page resource
  4. Invalid object number in cross-reference stream
  5. Annotation object is not a dictionary
  6. Invalid object number or object stream
  7. Improperly constructed page tree
  8. Invalid Page tree node
  9. Invalid Annotation property
  10. Invalid Resources Entry in document
  11. Invalid outline dictionary item
  12. Compression method is invalid or unknown to JHOVE
  13. Improperly formed date
  14. Invalid page dictionary object
  15. Lexical Error
  16. No document catalog dictionary
  17. Malformed dictionary
  18. Invalid Font entry in Resources
  19. Invalid character in hex string
  20. Malformed outline dictionary
  21. Invalid dictionary data for page
  22. No PDF Header
  23. Missing expected element in page number dictionary
  24. java.lang.ClassCastException: PdfSimpleObject cannot be cast to edu.harvard.hul.ois.jhove.module.pdf.PdfDictionary
  25. java.lang.NullPointerException
  26. Invalid Names dictionary
  27. Improperly nested array delimiters
  28. Invalid cross-reference table
  29. Invalid ID in trailer
  30. Invalid object definition
  31. Unexpected error in findFonts
  32. Invalid outline dictionary object
  33. Outline dictionary missing required entry
  34. Malformed filter
  35. Improperly constructed page tree

Relevant for PDF/A-compliance are these messages:

  1. No encryption dictionary
  2. No Encrypt or Info entries in trailer
  3. Document catalog dictionary specifies RFC1766 language
  4. Document catalog dictionary has no AA or OCProperties
  5. Form fields do not have AA actions
  6. No Launch, Sound, Movie, ResetForm, ImportData, or JavaScript actions
  7. Fonts have recognized encoding
  8. Uncalibrated color spaces have OutputIntent specified
  9. Page objects do not have Movie, Sound, or FileAttachment
  10. Non-text annotations have Contents key
  11. Unfiltered metadata stream

A typical sample of 4145 PDF files from our Open Access Repository consists of 233 invalid PDF Files and outputs the following error messages:

Sample consists of 31 different JHOVE error messages
1: 390 x   ErrorMessage: Annotation object is not a dictionary
2: 82 x   ErrorMessage: Compression method is invalid or unknown to JHOVE
3: 862 x   ErrorMessage: Expected dictionary for font entry in page resource
4: 245 x   ErrorMessage: Improperly constructed page tree
5: 42 x   ErrorMessage: Improperly formed date
6: 1 x   ErrorMessage: Improperly nested array delimiters
7: 131 x   ErrorMessage: Invalid Annotation property
8: 5 x   ErrorMessage: Invalid Font entry in Resources
9: 2 x   ErrorMessage: Invalid Names dictionary
10: 93 x   ErrorMessage: Invalid Resources Entry in document
11: 5 x   ErrorMessage: Invalid character in hex string
12: 1 x   ErrorMessage: Invalid cross-reference table
13: 44 x   ErrorMessage: Invalid destination object
14: 4 x   ErrorMessage: Invalid dictionary data for page
15: 470 x   ErrorMessage: Invalid object number in cross-reference stream
16: 68 x   ErrorMessage: Invalid object number or object stream
17: 86 x   ErrorMessage: Invalid outline dictionary item
18: 23 x   ErrorMessage: Invalid page dictionary object
19: 169 x   ErrorMessage: Invalid page tree node
20: 10 x   ErrorMessage: Lexical error
21: 2 x   ErrorMessage: Malformed dictionary
22: 4 x   ErrorMessage: Malformed dictionary: Vector must contain an even number of objects, but has 15
23: 5 x   ErrorMessage: Malformed outline dictionary
24: 4 x   ErrorMessage: Missing expected element in page number dictionary
25: 5 x   ErrorMessage: No PDF header
26: 8 x   ErrorMessage: No document catalog dictionary
27: 1055 x   ErrorMessage: edu.harvard.hul.ois.jhove.module.pdf.PdfInvalidException: Invalid destination object
28: 2440 x   ErrorMessage: edu.harvard.hul.ois.jhove.module.pdf.PdfMalformedException: Invalid name tree
29: 287 x   ErrorMessage: edu.harvard.hul.ois.jhove.module.pdf.PdfMalformedException: Invalid object number or object stream
30: 2 x   ErrorMessage: java.lang.ClassCastException: edu.harvard.hul.ois.jhove.module.pdf.PdfSimpleObject cannot be cast to edu.harvard.hul.ois.jhove.module.pdf.PdfDictionary
31: 2 x   ErrorMessage: java.lang.NullPointerException

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.