You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ng, Charles" <Ch...@cognos.com> on 2002/05/24 23:36:14 UTC

RE: org.xml.sax.helpers.AttributesImpl.ensureCapacity goes in end less loop...

It's a bug in Xerces 1.4.4 and 2.0.1

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5159

-----Original Message-----
From: St-Germain, Sylvain [mailto:Sylvain.StGermain@cognos.com]
Sent: Friday, May 24, 2002 2:10 PM
To: Axis Dev (E-mail)
Subject: org.xml.sax.helpers.AttributesImpl.ensureCapacity goes in
endless loop...



A little while ago I sent a post about the fact that an operation with null
parameters would cause Axis to hang.  I found the culprit piece of code.

Using xerces 1.4.4 I get stuck in an endless while loop in
org.xml.sax.helpers.AttributesImpl.ensureCapacity(int).

    private void ensureCapacity (int n)
    {
	[...]

	while (max < n * 5) {
	    max *= 2;
	}

	[...]


I do not know the value of n, I will keep investigate but wanted to let you
know in case someone can tell me this was fixed.  I am running a early beta
2 version. 

Anyone has experienced this?

--
Sylvain

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.