Return-Path: X-Original-To: apmail-pdfbox-dev-archive@www.apache.org Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E94631034A for ; Wed, 8 Jan 2014 21:06:50 +0000 (UTC) Received: (qmail 5103 invoked by uid 500); 8 Jan 2014 21:06:50 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 5082 invoked by uid 500); 8 Jan 2014 21:06:50 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 5068 invoked by uid 99); 8 Jan 2014 21:06:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 21:06:50 +0000 Date: Wed, 8 Jan 2014 21:06:50 +0000 (UTC) From: "Tilman Hausherr (JIRA)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PDFBOX-1835) Stackoverflow pdfbox 1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865885#comment-13865885 ] Tilman Hausherr commented on PDFBOX-1835: ----------------------------------------- 1) Could you post the full stack trace? Or at least, the part that is from apache? 2) What happens if you increase the stack size (-Xss option)? > Stackoverflow pdfbox 1.8.3 > -------------------------- > > Key: PDFBOX-1835 > URL: https://issues.apache.org/jira/browse/PDFBOX-1835 > Project: PDFBox > Issue Type: Bug > Components: PDFReader > 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.1.5#6160)