[
https://issues.apache.org/jira/browse/PDFBOX-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16606244#comment-16606244
]
Tilman Hausherr edited comment on PDFBOX-4314 at 9/6/18 6:47 PM:
-----------------------------------------------------------------
The .net versions are not supported by the PDFBox team. Here's an explanation
how to make your own:
https://stackoverflow.com/questions/8441991/how-to-build-pdfbox-for-net
1.8.2 is from 2013.
was (Author: tilman):
The .net versions are not supported by the PDFBox team. Here's an explanation
how to make your own:
https://stackoverflow.com/questions/8441991/how-to-build-pdfbox-for-net
1.8.2 is really old.
> IndexOutOfBoundsException when saving a document (at random)
> ------------------------------------------------------------
>
> Key: PDFBOX-4314
> URL: https://issues.apache.org/jira/browse/PDFBOX-4314
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.8.2
> Reporter: Neil Crouch
> Priority: Major
> Labels: .net
>
> When saving documents it randomly error's. We have 2 functions that call
> this, they are financial docs a privacy notice and a credit disclosure. They
> are generated then saved ans sent to customers 9/5/2018 from 11 customers 2
> failed one failed at the first document the send failed at the second
> document. Code below.
> var pnPages = page2.getDocumentCatalog().getAllPages();
> document.addPage((PDPage)pnPages.get(0));
> document.addPage((PDPage)pnPages.get(1));
> string fileName = "Credit_Score_Disclosure_" + borrowerName + "_";
> string fullFileName = System.IO.Path.GetTempPath() + fileName +
> Guid.NewGuid() + ".pdf";
> document.save(fullFileName);
> document.close();
> There is a try catch around the code which is how we collect the failure. We
> have the blank file it creates so it gets as far as the save then errors.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]