On 2002.02.21 21:49 Vincent Hardy wrote:
> Keiron,
>
> I fixed the static modifier issue in BridgeContext.
> V.
Thanks.
It makes more sense now.
Keep up the good work (without the cut&paste errors :)
-
To unsubscribe, e-mail: [
Keiron,
I fixed the static modifier issue in BridgeContext.
V.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Keiron,
Ooops, the static modifier is a cut/paste error on my part.
I'll fix this.
V.
Keiron Liddle wrote:
>
> Hi Vincent,
>
> No. It is a new BridgeContext every time a document is processed.
> I had a look at it and it seems to me that the problem could be:
> In BridgeContext
> One thread is
Keiron Liddle wrote:
> Hi Vincent,
>
> No. It is a new BridgeContext every time a document is processed.
> I had a look at it and it seems to me that the problem could be:
> In BridgeContext
> One thread is at line 225, so that thread knows the fontFamilyMap is not
> null.
> Another thread then
Hi Vincent,
No. It is a new BridgeContext every time a document is processed.
I had a look at it and it seems to me that the problem could be:
In BridgeContext
One thread is at line 225, so that thread knows the fontFamilyMap is not
null.
Another thread then goes through line 250 and sets the fo
Keiron,
Are you sharing your BridgeContext between threads by
any chance? I think somehow the BridgeContext used by SVGFontUtilities
is used by another thread which must set the context's Document
in the middle of the getFontFamilyMap execution which then returns
null.
Vincent.
Keiron Liddle wr
It seems a bit rarer than I thought.
Stack trace with line numbers:
svg graphic could not be built: null
java.lang.NullPointerException
at
org.apache.batik.bridge.SVGFontUtilities.getFontFamily(SVGFontUtilities.java:60)
at
org.apache.batik.bridge.SVGTextElementBridge.getAttrib
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 appea
Keiron,
I will have a look at your test case as the error below does not show
where the exception is happening.
Cheers,
V.
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 d
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
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: [EMAIL PROTECTED]
For additional comma
Thomas E Deweese wrote:
>
> > "VH" == Vincent Hardy <[EMAIL PROTECTED]> writes:
>
> VH> Keiron, I have entered a Bug in Bugzilla so that we can address
> VH> the problem you reported:
>
> VH> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6536
>
> VH> The memory leak is a real concern.
> "VH" == Vincent Hardy <[EMAIL PROTECTED]> writes:
VH> Keiron, I have entered a Bug in Bugzilla so that we can address
VH> the problem you reported:
VH> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6536
VH> The memory leak is a real concern.
VH> The multi-thread problem is also a c
Keiron,
I have entered a Bug in Bugzilla so that we can address the problem
you reported:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6536
The memory leak is a real concern.
The multi-thread problem is also a concern,
but note that Batik is usually not thread safe (e.g., the
SVG gener
Hi,
I have a couple of problems with the SVGFontUtilities class.
It holds a static reference to the "current" document.
This means that it will hold onto the last document to have text in it. I
ran into a problem where the document was holding onto a whole lot of
other stuff through the Defaul
Thanks, keeping cool.
On 2001.12.17 17:38 Thierry Kormann wrote:
> On Monday 17 December 2001 17:31, Keiron Liddle wrote:
> > Hi,
> >
> > I have run into a threading problem when multiple SVG Documents are
> having
> > the GVT built at the same time.
> >
>
On Monday 17 December 2001 17:31, Keiron Liddle wrote:
> Hi,
>
> I have run into a threading problem when multiple SVG Documents are having
> the GVT built at the same time.
>
> The attached jar contains a testing class and the svg files it uses. If
> this is run then I get a
Hi,
I have run into a threading problem when multiple SVG Documents are having
the GVT built at the same time.
The attached jar contains a testing class and the svg files it uses. If
this is run then I get a number of exceptions (about 2 out of 75 times).
The documents are valid and can be
18 matches
Mail list logo