File is NOT encrypted. Thanks, Marc
> On Dec 16, 2014, at 4:48 PM, Cheffers, Paul > <[email protected]> wrote: > > You have to make sure the PDF is not encrypted in order to merge. If it is > encrypted you > Need to decrypt it using PDFBOX calls (and for this you need the bouncycastle > jar file as well as PDFBOX). > > Paul > > -----Original Message----- > From: Tilman Hausherr [mailto:[email protected]] > Sent: Wednesday, 17 December 2014 8:47 AM > To: [email protected] > Subject: Re: PDFMerge Exception > > I tested with 2.0 :-( > > Tilman > > Am 16.12.2014 um 22:39 schrieb John Hewson: >> Try using the latest 2.0 snapshot, recursive resources are handled >> differently in 2.0, so the problem may not exist there. >> >> -- John >> >>> On 16 Dec 2014, at 12:03, Tilman Hausherr <[email protected]> wrote: >>> >>> Hi, >>> >>> Yes, you can file a bug in JIRA, but if there's really this resource >>> recursion, the best that can be done is that have PDFMerger output an error. >>> >>> You mentioned that you thought that the file might be problematic. Did you >>> have other trouble already? >>> >>> Tilman >>> >>> Am 16.12.2014 um 20:55 schrieb Marc Davis: >>>> Yes, of course, I meant the first file. I should have labelled it file1, >>>> file2. Next steps?? File a bug? >>>> >>>> Thanks, >>>> Marc >>>> >>>> >>>> >>>>> On Dec 16, 2014, at 2:54 PM, Tilman Hausherr <[email protected]> >>>>> wrote: >>>>> >>>>> It is the first file that makes the trouble, when trying to merge it with >>>>> itself. This doesn't happen with the second one. >>>>> >>>>> According to PDFDebugger, there is a resource recursion. Either that or a >>>>> PDFBox bug. >>>>> >>>>> Tilman >>>>> >>>>> Am 16.12.2014 um 20:26 schrieb Marc Davis: >>>>>> Hello, >>>>>> >>>>>> I am using pdfbox-app-1.8.8.jar to merge this file >>>>>> <https://www.dropbox.com/s/tfhpiac1n7evkf1/mark%20dinges.pdf?dl=0> with >>>>>> this file <https://www.dropbox.com/s/08xappgyx391q4u/diels%202.pdf?dl=0>. >>>>>> >>>>>> I am getting the following result: >>>>>> >>>>>> Exception in thread "main" java.lang.StackOverflowError >>>>>> at >>>>>> java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:366) >>>>>> at >>>>>> java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:366) >>>>>> at java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412) >>>>>> at java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412) >>>>>> at java.util.LinkedHashMap.newEntryIterator(LinkedHashMap.java:419) >>>>>> at java.util.HashMap$EntrySet.iterator(HashMap.java:1082) >>>>>> at >>>>>> org.apache.pdfbox.pdfwriter.COSWriter.visitFromDictionary(COSWriter.java:1016) >>>>>> at >>>>>> org.apache.pdfbox.pdfwriter.COSWriter.visitFromDictionary(COSWriter.java:1043) >>>>>> >>>>>> and whole series of the last line. Any suggestions? I think the last >>>>>> file may be problematic. >>>>>> >>>>>> Thanks, >>>>>> Marc >>>>>> >>>>>> >>>>>> >>>>>> >> > > > ********************************************************************** > IMPORTANT: This e-mail is for the use of the intended recipient only and may > contain information that is confidential, commercially valuable and/or > subject to legal or parliamentary privilege. If you are not the intended > recipient you are notified that any review, re-transmission, disclosure, > dissemination or other use of, or taking of any action in reliance upon, this > information is prohibited and may result in severe penalties. If you have > received this e-mail in error please notify the sender immediately and delete > all electronic and hard copies of this transmission together with any > attachments. Please consider the environment before printing this e-mail > **********************************************************************

