From sanselan-dev-return-449-apmail-incubator-sanselan-dev-archive=incubator.apache.org@incubator.apache.org Fri Jun 26 13:40:36 2009 Return-Path: Delivered-To: apmail-incubator-sanselan-dev-archive@minotaur.apache.org Received: (qmail 48140 invoked from network); 26 Jun 2009 13:40:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jun 2009 13:40:34 -0000 Received: (qmail 91793 invoked by uid 500); 26 Jun 2009 13:40:45 -0000 Delivered-To: apmail-incubator-sanselan-dev-archive@incubator.apache.org Received: (qmail 91766 invoked by uid 500); 26 Jun 2009 13:40:45 -0000 Mailing-List: contact sanselan-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sanselan-dev@incubator.apache.org Delivered-To: mailing list sanselan-dev@incubator.apache.org Received: (qmail 91756 invoked by uid 99); 26 Jun 2009 13:40:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2009 13:40:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of charlesmchen@gmail.com designates 209.85.220.223 as permitted sender) Received: from [209.85.220.223] (HELO mail-fx0-f223.google.com) (209.85.220.223) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2009 13:40:34 +0000 Received: by fxm23 with SMTP id 23so1933208fxm.12 for ; Fri, 26 Jun 2009 06:40:14 -0700 (PDT) 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 :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=j18k9Yf0uiE6zPPz8tJXjAE18lV3FR1Tt+FxYCwKSSI=; b=aD599kX1vbz1Kvd8CpnZQ24FYbGkI665wUbovGNciLOe5btvGGcF41l4ZEKI7SGmC8 A5vD5Ye8LMpHfx9Ck2y2Al+wxmfXQ2lqtWaSHP6qkEMK5yBQVeUL1RaEg0ZqmqBCFUoV jih7nsTPDT0WF+uvVsRvCtQd9T0k6WqCjn9sM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lrqNEx8DnYbHykPZtuflYDBlZ0FrIPVeA4TLM5M4OTsId7cfvVAVOuvT6xr6KaBsEU In+1gTLFBvtasM+2MVQLdh3rSbVXKtpjAfXKG83zx6d8VhEXw0iAls5oR8nYjl+u9L0L ihcQoanQ/qcgKiMaFK/fnH8Upgp9J6NixlVgg= MIME-Version: 1.0 Received: by 10.239.159.208 with SMTP id z16mr323917hbc.8.1246023613839; Fri, 26 Jun 2009 06:40:13 -0700 (PDT) In-Reply-To: <4A44B6AC.7020005@sitepark.com> References: <4A44B6AC.7020005@sitepark.com> Date: Fri, 26 Jun 2009 09:40:13 -0400 Message-ID: Subject: Re: ArrayIndexOutOfBoundsException with gif From: Charles Matthew Chen To: sanselan-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Holger, I'll be happy to take a look at this issue. Please open an issue on JIR= A. https://issues.apache.org/jira/browse/SANSELAN Don't forget to attach (and contribute, if possible) that test image and to include your source that is having the problem. Thanks, Matthew On Fri, Jun 26, 2009 at 7:53 AM, Holger Veltrup wrote= : > Hey, > > I try to get a BufferedImage with following gif: > http://www.ddim.de/test.gif > > Sanselan.getBufferedImage(new File("test.gif")); > > this throw a ArrayIndexOutOfBoundsException: > > java.lang.ArrayIndexOutOfBoundsException: 288561 > =A0 =A0 =A0 =A0at > org.apache.sanselan.formats.gif.GifImageParser.getBufferedImage(GifImageP= arser.java:795) > =A0 =A0 =A0 =A0at org.apache.sanselan.Sanselan.getBufferedImage(Sanselan.= java:1264) > =A0 =A0 =A0 =A0at org.apache.sanselan.Sanselan.getBufferedImage(Sanselan.= java:1231) > > > can anybody help me? >