Return-Path: Delivered-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Received: (qmail 58802 invoked from network); 4 Aug 2008 06:50:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 06:50:11 -0000 Received: (qmail 55143 invoked by uid 500); 4 Aug 2008 06:50:10 -0000 Delivered-To: apmail-xmlgraphics-batik-dev-archive@xmlgraphics.apache.org Received: (qmail 55128 invoked by uid 500); 4 Aug 2008 06:50:10 -0000 Mailing-List: contact batik-dev-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-dev@xmlgraphics.apache.org Delivered-To: mailing list batik-dev@xmlgraphics.apache.org Delivered-To: moderator for batik-dev@xmlgraphics.apache.org Received: (qmail 19447 invoked by uid 99); 3 Aug 2008 09:00:10 -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 bogdandr@op.pl designates 213.180.130.31 as permitted sender) Message-ID: <48957298.1070602@op.pl> Date: Sun, 03 Aug 2008 10:55:52 +0200 From: Bogdan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: batik-dev@xmlgraphics.apache.org Subject: Batik code correction X-Enigmail-Version: 0.95.6 OpenPGP: url=http://rudy.mif.pg.gda.pl/~bogdro/bogdan_publiczny.asc Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello. You may have not received my message, so I send again: SVGSVGElementBridge.java:handleAnimatedAttributeChanged(AnimatedLiveAttributeValue): Locate if (rebuild) { CompositeGraphicsNode gn = node.getParent(); gn.remove(node); disposeTree(e, false); handleElementAdded(gn, e.getParentNode(), e); return; } (near the middle of the file) and replace gn.remove(node); with if (gn != null) gn.remove(node); and handleElementAdded(gn, e.getParentNode(), e); with if (gn != null) handleElementAdded(gn, e.getParentNode(), e); This corrections avoids some null-pointer exceptions inside batik. -- Pozdrawiam/Regards - Bogdan (GNU/Linux & FreeDOS) Kurs asemblera x86 (DOS, GNU/Linux):http://rudy.mif.pg.gda.pl/~bogdro Grupy dyskusyjne o asm: pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32 www.JabberPL.org www.TorProject.org Soft (EN): miniurl.pl/bogdro-soft --------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org