Return-Path: Delivered-To: apmail-xml-batik-dev-archive@xml.apache.org Received: (qmail 2469 invoked by uid 500); 20 Feb 2002 10:51:11 -0000 Mailing-List: contact batik-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: batik-dev@xml.apache.org Delivered-To: mailing list batik-dev@xml.apache.org Received: (qmail 2458 invoked from network); 20 Feb 2002 10:51:10 -0000 Message-ID: <3C74279B.22922BAB@sun.com> Date: Wed, 20 Feb 2002 23:47:55 +0100 From: Vincent Hardy X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: batik-dev@xml.apache.org Subject: Re: static/threading problem with SVGFontUtilities References: <20020218093405.A1484@fztig938.bank.dresdner.net> <20020218095256.B1484@fztig938.bank.dresdner.net> <3C741A07.ECA04F4C@sun.com> <20020220110811.C4808@fztig938.bank.dresdner.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Keiron, I see the problem for which you have a fix (DOMException) running your test, but I am unable to reproduce the NullPointerException. Would you have a complete trace of that Exception? Thanks, Vincent. Keiron Liddle wrote: > > Hi Vincent, > > The memory thing is better thanks. It appears there can still be some > threading thing but it is very rare (after about 12000 documents in heavy > use). > java.lang.NullPointerException > at org.apache.batik.bridge.SVGFontUtilities.getFontFamily(Unknown > Source) > > Using the testing that I sent in this email: > http://marc.theaimsgroup.com/?l=batik-dev&m=100860672129140&w=2 > Is the way the code works valid? > > The problem that I encountered there (the style parsing error) I was able > to solve by putting a static synchronization around the lines 402 - 404 in > CSSOMStyleDeclaration. > > Thanks, > Keiron. > > On 2002.02.20 22:49 Vincent Hardy wrote: > > Keiron, > > > > There is a fix in the CVS repository. > > Cheers, > > V. > > > > Keiron Liddle wrote: > > > > > > Hi, > > > > > > I have a couple of problems with the SVGFontUtilities class. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org > For additional commands, e-mail: batik-dev-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org For additional commands, e-mail: batik-dev-help@xml.apache.org