[
https://issues.apache.org/jira/browse/PDFBOX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler closed PDFBOX-346.
-------------------------------------
Resolution: Cannot Reproduce
Assignee: Andreas Lehmkühler
Sounds like a old and already solved issue.
Closed
> Cannot merge or append with PDFMergerUtility in .NET
> ----------------------------------------------------
>
> Key: PDFBOX-346
> URL: https://issues.apache.org/jira/browse/PDFBOX-346
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Environment: Windows XP SP2, .NET 2.0 C#
> Reporter: Demian Hess
> Assignee: Andreas Lehmkühler
>
> Calling the appendDocument or mergeDocuments methods on PDFMergerUtility in
> .NET results in exception "Object reference not set to an instance of an
> object." I can call "addSource" and "setDestinationFileName" without getting
> an exception.
>
> I'm using .net 2.0 and 0.7.3 PDFBox build.
>
> Example:
> org.pdfbox.util.PDFMergerUtility merger = new
> org.pdfbox.util.PDFMergerUtility();
> merger.addSource("C:\\file1.pdf");
> merger.addSource("C:\\file2.pdf");
> merger.setDestinationFileName("C:\\file3.pdf");
> merger.mergeDocuments(); // <-- exception thrown here
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira