[
https://issues.apache.org/jira/browse/PDFBOX-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346506#comment-14346506
]
Tilman Hausherr commented on PDFBOX-1835:
-----------------------------------------
Could you try with -XX:MaxJavaStackTraceDepth=1000000 to see how it starts (the
bottom of the stack trace) ? I tried the ExtractText feature (I disabled the
permission check) and did not get an exception. Maybe it's something else done
in TIKA, e.g. image extraction or meta data extraction.
> 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: [email protected]
For additional commands, e-mail: [email protected]