Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 288F817FC6 for ; Wed, 29 Oct 2014 16:55:39 +0000 (UTC) Received: (qmail 9381 invoked by uid 500); 29 Oct 2014 16:55:38 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 9357 invoked by uid 500); 29 Oct 2014 16:55:38 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 9344 invoked by uid 99); 29 Oct 2014 16:55:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 16:55:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.25.134.81] (HELO mailout03.t-online.de) (194.25.134.81) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 16:55:31 +0000 Received: from fwd08.aul.t-online.de (fwd08.aul.t-online.de [172.20.26.151]) by mailout03.t-online.de (Postfix) with SMTP id 655CA50410E for ; Wed, 29 Oct 2014 17:54:40 +0100 (CET) Received: from [192.168.2.102] (rPGJNGZvrhIgiGkrwjIEH9DzUQ0mn8kePXRI1+yOuzaZj6p9iEDUAJkpHg6g9-RZHJ@[217.231.142.184]) by fwd08.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1XjWW6-2LI99k0; Wed, 29 Oct 2014 17:54:38 +0100 Message-ID: <54511C0A.4020606@t-online.de> Date: Wed, 29 Oct 2014 17:55:38 +0100 From: Tilman Hausherr User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: users@pdfbox.apache.org Subject: Re: PrintImageLocations example program issue References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-ID: rPGJNGZvrhIgiGkrwjIEH9DzUQ0mn8kePXRI1+yOuzaZj6p9iEDUAJkpHg6g9-RZHJ X-TOI-MSGID: 68c72c5a-64c0-4259-9c4e-8e8771d0ad2b X-Virus-Checked: Checked by ClamAV on apache.org Am 29.10.2014 um 13:12 schrieb Sanyam Goel: > This program throws error while at line page.getMediaBox().getHeight() "This program throws error" is analog to somebody phoning a medical doctor and asking him "I feel ill why is this so". Please post the exact exception and the full stack trace. And as Maruan said, we need the PDF too and the version. (The answer to the version question would either be 1.8.7 or "trunk"; if your version is below, then please update first https://pdfbox.apache.org/downloads.html ) If you're working with the trunk with svn, then rather get a version from last friday. Tilman