You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2015/03/04 01:18:06 UTC
[jira] [Commented] (PDFBOX-1835) Stackoverflow pdfbox 1.8.3
[ https://issues.apache.org/jira/browse/PDFBOX-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346072#comment-14346072 ]
Tyler Palsulich commented on PDFBOX-1835:
-----------------------------------------
Hi Folks. Tika Trunk (1.8-SNAPSHOT) is running into this issue with TIKA-1038 and the following PDF: http://downloads.joomlacode.org/frsrelease/5/4/0/54089/handbuch_ckforms-DE-1.3.2.pdf.
Tika is running version PDFBox 1.8.8.
Here is the relevant stacktrace:
{code}
➜ tika http://downloads.joomlacode.org/frsrelease/5/4/0/54089/handbuch_ckforms-DE-1.3.2.pdf
INFO - Document is encrypted
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$KeyIterator.<init>(LinkedHashMap.java:404)
at java.util.LinkedHashMap$KeyIterator.<init>(LinkedHashMap.java:404)
at java.util.LinkedHashMap.newKeyIterator(LinkedHashMap.java:417)
at java.util.HashMap$KeySet.iterator(HashMap.java:1002)
at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1554)
at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1560)
at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1560)
at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1560)
at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1560)
...
{code}
This could be a duplicate of PDFBOX-1525, PDFBOX-1417, or PDFBOX-1576. But, those have different resolutions.
> Stackoverflow pdfbox 1.8.3
> --------------------------
>
> Key: PDFBOX-1835
> URL: https://issues.apache.org/jira/browse/PDFBOX-1835
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.3
> Environment: CentOS6
> Java 7
> Reporter: Johnny Minty
>
> I guys I'm using Apache Tika in an application which uses PDFbox for PDF parsing.
> When trying to read in a specific PDF attachment i'm receiving the following stack overflow:
> Caused by: java.lang.StackOverflowError
> at java.lang.String.valueOf(String.java:2854)
> at java.lang.StringBuilder.append(StringBuilder.java:128)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1450)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
> at org.apache.pdfbox.cos.COSDictionary.toString(COSDictionary.java:1453)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org