<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Can anyone provide the patch referenced
below?</FONT></DIV>
<DIV>Thanks,</DIV>
<DIV>- Eric</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>"Benjamin Broll" writes:<BR><BR>> Hi
everyone,<BR>> <BR>> currently I'm heavily working with Attributes and
discovered a little<BR>> bug in the AttributeList.clear()
implementation.<BR>> <BR>> The method just clears the content of the list
but does not reset its<BR>> size to 0. Thus, when adding two Attributes after
the clear() call, a<BR>> NullPointerException is thrown from the
<BR><BR>Patch below.<BR><BR>Brad<BR><BR>*** AttributeList.old Fri Jun 13
08:48:33 2003<BR>--- AttributeList.java Fri Jun 13 08:49:08
2003<BR>***************<BR>*** 256,261 ****<BR>--- 256,262
----<BR>
attribute.setParent(null);<BR>
}<BR>
elementData =
null;<BR>+
size = 0;<BR>
}<BR>
modCount++;<BR>
}</FONT></DIV></FONT></DIV></BODY></HTML>