pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFMerge Exception
Date Tue, 16 Dec 2014 21:46:39 GMT
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 <THausherr@t-online.de> 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 <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