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 5983B11817 for ; Wed, 4 Jun 2014 15:12:40 +0000 (UTC) Received: (qmail 12180 invoked by uid 500); 4 Jun 2014 15:12:40 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 12157 invoked by uid 500); 4 Jun 2014 15:12:40 -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 12146 invoked by uid 99); 4 Jun 2014 15:12:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 15:12:40 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dimuthu.upeksha2@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-wg0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 15:12:37 +0000 Received: by mail-wg0-f52.google.com with SMTP id l18so8493423wgh.23 for ; Wed, 04 Jun 2014 08:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rd6ecjhxMXND7RR5OcDtjD6+GV1frEO9oQlKqeXqroM=; b=TmEIGjMp8X4wBJfGka871BUmAtYJAT63MpoM7cXD3v0nWVXRN4nx3v+ZUnPux9REET 4+dJoOTeYec7Nbmp9ssupnqfviLshcQh85IJhlRP7tp3Tj2kjMdfJWUO0+TLtfIzmN1/ f/graA800ji6G1fB6rFHiGQmOe/9kz1QpyUrGPidrct22Tw4aU2BMUbiQxQhEm15VdjA phENlYM/LSU5bzbveUA1R6ZZracY0t8j3gGmVWZlf+BThCBSc/D88qaaQehOfOw5kVo0 nkYUUTBP0Hporfd8rxuU+/AX5267Y8SNEPWIKycPxdT6WbFXAUMZpW4kKqwK9T6CqMz5 YhHA== MIME-Version: 1.0 X-Received: by 10.180.84.7 with SMTP id u7mr6150960wiy.31.1401894732698; Wed, 04 Jun 2014 08:12:12 -0700 (PDT) Received: by 10.194.123.193 with HTTP; Wed, 4 Jun 2014 08:12:12 -0700 (PDT) In-Reply-To: <42442A64-72D1-4E6C-88B4-9FD0FFE85C28@jahewson.com> References: <538E047E.2070009@t-online.de> <42442A64-72D1-4E6C-88B4-9FD0FFE85C28@jahewson.com> Date: Wed, 4 Jun 2014 23:12:12 +0800 Message-ID: Subject: Re: Problem with PDFRenderer From: DImuthu Upeksha To: "dev@pdfbox.apache.org" Content-Type: multipart/alternative; boundary=f46d0418255c8e1e8c04fb040db0 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418255c8e1e8c04fb040db0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable John, I'm not sure about thread safe manner you have mentioned. How can I make it thread safe? I'm running only this unit test so I think it is not a problem with parallel test running. On Wed, Jun 4, 2014 at 9:20 AM, John Hewson wrote: > It=E2=80=99s probably an issue with your unit test, are you running it in= parallel > on in some non-thread-safe manner? > > -- John > > On 3 Jun 2014, at 10:46, DImuthu Upeksha > wrote: > > > Hi Tilman, > > > > Thank you for your quick response. I added jar to classpath but it gave > > same error, Then I updated my pom file with this > > https://code.google.com/p/jbig2-imageio/wiki/UsingMaven. Now exception > > didn't appear but it gives following error message > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger info > > > > INFO: JBIG2ReadParam not specified. Default will be used. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger info > > > > INFO: Globals not set. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > > > On Wed, Jun 4, 2014 at 1:23 AM, Tilman Hausherr > > wrote: > > > >> Put the levigo JBIG2 decoder in your class path > >> https://code.google.com/p/jbig2-imageio/ > >> > >> Tilman > >> > >> Am 03.06.2014 19:09, schrieb DImuthu Upeksha: > >> > >> [1]https://www.dropbox.com/s/ywscxm2n8pubat5/pdf3.pdf > >>> > >>> SEVERE: error while creating a xobject > >>> > >>> org.apache.pdfbox.filter.MissingImageReaderException: Cannot read JBI= G2 > >>> image: jbig2-imageio is not installed > >>> > >> > >> > > > > > > -- > > Regards > > > > W.Dimuthu Upeksha > > Undergraduate > > Department of Computer Science And Engineering > > > > University of Moratuwa, Sri Lanka > > --=20 Regards W.Dimuthu Upeksha Undergraduate Department of Computer Science And Engineering University of Moratuwa, Sri Lanka --f46d0418255c8e1e8c04fb040db0--