Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 35784 invoked from network); 6 Feb 2010 13:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Feb 2010 13:36:52 -0000 Received: (qmail 96368 invoked by uid 500); 6 Feb 2010 13:36:52 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 96327 invoked by uid 500); 6 Feb 2010 13:36:51 -0000 Mailing-List: contact batik-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-users@xmlgraphics.apache.org Delivered-To: mailing list batik-users@xmlgraphics.apache.org Received: (qmail 96317 invoked by uid 99); 6 Feb 2010 13:36:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 13:36:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of helder.magalhaes@gmail.com designates 74.125.78.27 as permitted sender) Received: from [74.125.78.27] (HELO ey-out-2122.google.com) (74.125.78.27) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 13:36:41 +0000 Received: by ey-out-2122.google.com with SMTP id 22so1146435eye.51 for ; Sat, 06 Feb 2010 05:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=RL2gYPzDWmHvpAchdUYduosoxV4THbPwTiXMM+Tiy1A=; b=tfin6oJgxLWHtl7YsjgGmP4wpE4a/v4oWE2X1M0lpfZVwe1KW+mFlBYMOHVxftfr4H AurKmO46wUDqIOsg9daWlBFzKRwAye7SPPHvEhvzNkWkFORbGQo8EgxSqmNYnvd0zyob HqEIccFrDflVlUnsVx+2xGW915of8MZxL/eKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=B0kZTIkkjz1UUU3Tjp9TVOH0LXDPCUNTo4eRvIAYk1jSW5DpN/nregB0c5CD/RBYv+ tWXd3Ilr5T0s21BbCHlFH2J8p0TqgklNbtzCMOFnQ8DBRd4U8Gaf7ms+nJkmYVQ0ABiX xpw78qUtTUa00nI1VL25B3PzKRLp2kqwBQRV0= MIME-Version: 1.0 Received: by 10.213.104.95 with SMTP id n31mr1865350ebo.27.1265463380123; Sat, 06 Feb 2010 05:36:20 -0800 (PST) In-Reply-To: <4B684B15.5010000@333.ch> References: <4B684B15.5010000@333.ch> From: =?ISO-8859-1?Q?Helder_Magalh=E3es?= Date: Sat, 6 Feb 2010 13:36:00 +0000 Message-ID: <2a1ddf8a1002060536w23e8667bg2f0bc3712cd614ae@mail.gmail.com> Subject: Re: problem with batik transcoder on a headless system To: batik-users@xmlgraphics.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi simon, > i have developed a yanel resource-type which is using the batik transcoder > to create png and jpg from svg. on my local computer everything works like a > charm. after i deployed it on a haedless server i run into a problem. i > tried Djava.awt.headless=true and xvfb. and a real simple svg worked fine > but for most cases i get an exception (see below). after this exception was > thrown even the simple svg which worked before throws the exception. Maybe you got caught by bug 42408 [1]? Could you try downloading the source [2] and apply the available patch [1] locally and see if it helps? Please reply back (or comment on the bug report) if so. ;-) > Caused by: java.lang.IllegalArgumentException: Color parameter outside of expected range: Alpha Red > at java.awt.Color.testColorValueRange(Color.java:298) [...] The exception is somehow weird so I'd ask you to attach a simple test case [3] which reproduces the issue in a reply, so one can see if that's really what's happening. Thanks! :-) > any hint would be very much appreciated. Hope this helps, Helder [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=42408 [2] http://xmlgraphics.apache.org/batik/download.cgi#Subversion+repository [3] http://webkit.org/quality/reduction.html --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org