Welcome Guest Search | Active Topics | Sign In | Register

PDF Parse Error - "pad block corrupted" Options
Jamie
Posted: Tuesday, September 5, 2017 8:34:44 PM
Rank: Newbie
Groups: Member

Joined: 7/19/2016
Posts: 5
When opening the PDF at https://www.canada.ca/content/dam/cra-arc/migration/cra-arc/E/pbg/tf/t776/t776-fill-16e.pdf using EO PDF Library, the follow exception is thrown:

Message "pad block corrupted" string

" at EO.Internal.sx.a(Byte[] A_0)\r\n at EO.Internal.ap4.a(Byte[] A_0, Int32 A_1)\r\n at EO.Pdf.PdfDocumentSecurity.a(Int64 A_0, Int64 A_1, Stream A_2, Stream A_3, Boolean A_4)\r\n at EO.Internal.de.a(PdfDocumentSecurity A_0, Int32 A_1, Int32 A_2)\r\n at EO.Internal.akq.a.a(a4v A_0)\r\n at EO.Internal.aj.c(a4v A_0)\r\n at EO.Internal.a7i.a(awg A_0)\r\n at EO.Internal.aj.c(a4v A_0)\r\n at EO.Internal.aj.a(a4v A_0)\r\n at EO.Internal.aj.a(IEnumerable`1 A_0)\r\n at EO.Internal.akq.a(PdfDocumentSecurity A_0)\r\n at EO.Internal.akq.a(Boolean A_0, Boolean A_1, PdfDocumentSecurity A_2)\r\n at EO.Internal.gb.a(Stream A_0, Boolean A_1, Boolean A_2)\r\n at EO.Internal.gb.a(String A_0)\r\n at EO.Internal.gb..ctor(String A_0, PdfDocumentSecurity A_1)\r\n at EO.Pdf.PdfDocument..ctor(String fileName)\r\n at Tests.Pdf.ParsePdfFields() in

All other PDF Viewers are able to display the PDF and enter form data. The EO PDF lib. fails as noted above. My suspicion is that it is related to the PDF’s locked features.
eo_support
Posted: Wednesday, September 6, 2017 2:04:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
Hi,

We have looked into this issue and it is related to an "abandoned" piece of information in the file. That piece of information is invalid but is not used anywhere in the file. We will change our code to ignore such information in our next build and it should be able to read this file fine. We will reply again once the new build is out.

Thanks!
Jamie
Posted: Wednesday, September 6, 2017 5:26:33 PM
Rank: Newbie
Groups: Member

Joined: 7/19/2016
Posts: 5
Thanks very much. Please update this thread when its available.
eo_support
Posted: Thursday, September 14, 2017 10:22:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
Hi,

This is just to let you know that we have posted the new build that resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.