{"id":15230,"date":"2018-04-27T05:40:50","date_gmt":"2018-04-27T12:40:50","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=15230"},"modified":"2020-08-26T15:57:26","modified_gmt":"2020-08-26T22:57:26","slug":"kb00021973-com-itextpdf-text-exceptions-invalidpdfexception-pdf-header-signature-not-found","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb00021973-com-itextpdf-text-exceptions-invalidpdfexception-pdf-header-signature-not-found\/","title":{"rendered":"KB00021973: com.itextpdf.text.exceptions.InvalidPdfException: PDF header signature not found."},"content":{"rendered":"
Issue:<\/strong> 4.5.0.0 Windows 10 2018-04-16T17:14:11,247 ERROR pool-4-thread-3 com.ephesoft.dcma.util.PDFUtil – Error in reading the file:<PATH> \\0000_PV-Rech-1867010.pdf <\/p>\n Analysis:<\/strong> In this case customer need to verify the PDF file and check their PDF creation process.<\/p>\n","protected":false},"excerpt":{"rendered":" Issue: If you are seeing PDF File which cannot be processed and failing with below exception then it indicates that […]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12350,12356],"tags":[1307,1430,77],"yoast_head":"\n
\nIf you are seeing PDF File which cannot be processed and failing with below exception then it indicates that the PDF file is corrupt.<\/p>\n
\ncom.itextpdf.text.exceptions.InvalidPdfException: PDF header signature not found.<\/span>
\n<\/span><\/span><\/p>\n
\nBefore the conversion process starts the PDF file has to be validated. The validation of PDF happens using Itext which does operations like page count and syntax check.
\nThis PDF file is failing in this validation only and hence the PDF to TIFF conversion not starting.\u00a0 This exception is due to missing header information in PDF file and seems that the PDF file is corrupt.<\/span><\/span><\/p>\n