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 B6EF2185A7 for ; Thu, 3 Dec 2015 18:28:00 +0000 (UTC) Received: (qmail 25396 invoked by uid 500); 3 Dec 2015 18:27:47 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 25364 invoked by uid 500); 3 Dec 2015 18:27:47 -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 25353 invoked by uid 99); 3 Dec 2015 18:27:47 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2015 18:27:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 31A62C05AC for ; Thu, 3 Dec 2015 18:27:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.426 X-Spam-Level: ** X-Spam-Status: No, score=2.426 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_BL_SPAMCOP_NET=2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id yGahrYhye8YA for ; Thu, 3 Dec 2015 18:27:46 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 29EF023061 for ; Thu, 3 Dec 2015 18:27:45 +0000 (UTC) Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de [172.20.27.149]) by mailout04.t-online.de (Postfix) with SMTP id C0C034A99FA for ; Thu, 3 Dec 2015 19:27:37 +0100 (CET) Received: from [192.168.2.104] (Z65rw4Z-8hBa4JH27PPAi+PE0z-mgHUCzm9G+-6lnRla6QiL64h3MMNx6V5O2FvgEO@[217.231.133.169]) by fwd05.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1a4YbP-10pwv20; Thu, 3 Dec 2015 19:27:35 +0100 Subject: =?UTF-8?Q?Re:_Error_when_try_=22content.showText=28=22sol=c2=b7lici?= =?UTF-8?B?dHVkIik7Ig==?= To: users@pdfbox.apache.org References: <565F2D49.6020203@t-online.de> From: Tilman Hausherr Message-ID: <5660899D.8040102@t-online.de> Date: Thu, 3 Dec 2015 19:27:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-ID: Z65rw4Z-8hBa4JH27PPAi+PE0z-mgHUCzm9G+-6lnRla6QiL64h3MMNx6V5O2FvgEO X-TOI-MSGID: 4f3d351a-3af7-4800-98eb-3989fe029c92 Hi, I've created https://issues.apache.org/jira/browse/PDFBOX-3152 and added my thoughts. If you set yourself as a watcher there, you'll get updates if we find a solution. Tilman Am 03.12.2015 um 09:37 schrieb Pedro López Martínez: > Sorry, > > The version is "PDFBox 2.0.0 RC2". > > An the stack trace is > > java.lang.NullPointerException > at > org.apache.pdfbox.pdmodel.font.PDType1Font.encode(PDType1Font.java:357) > at org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:283) > at > org.apache.pdfbox.pdmodel.PDPageContentStream.showText(PDPageContentStream.java:341) > > > > > 2015-12-02 18:41 GMT+01:00 Tilman Hausherr : > >> Please mention the version, and a bit more code. >> >> Tilman >> >> Am 02.12.2015 um 13:47 schrieb Pedro López Martínez: >> >>> Hello, >>> >>> I'm retrieving a NullPointerException error when try write text in pdf >>> document like "content.showText("sol·licitud");" >>> >>> The PDFont is "PDType1Font.HELVETICA". >>> >>> I suspect the problem is about character "·". >>> >>> How I solve this problem? >>> >>> Thanks a lot. >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >> For additional commands, e-mail: users-help@pdfbox.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org