pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Davis <marcdavis...@gmail.com>
Subject Re: PDFMerge Exception
Date Tue, 16 Dec 2014 19:55:02 GMT
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 <THausherr@t-online.de> 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
>> 
>> 
>> 
>> 
> 


Mime
View raw message