commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Goldenberg" <>
Subject RE: [betwixt] NullPointerException in 0.7RC1
Date Mon, 27 Jun 2005 15:13:26 GMT
hi robert:

I updated my local version of Betwixt with the patch and rebuilt.  The test works fine now.

Thanks for the fix!  


-----Original Message-----
From: robert burrell donkin
Sent: Sunday, June 26, 2005 9:27 AM
To: Jakarta Commons Users List
Subject: Re: [betwixt] NullPointerException in 0.7RC1

hi glenn

thanks for reviewing the release candidate and supplying an accurate
description of the bug. it indeed has a very simple fix.

i would like to wait another day or two to see if any more issues are
reported before creating another release candidate but i'd appreciate it
if you could verify that the fix works for you. 

to do this, either checkout the RELEASE_0_7_BRANCH and build from the
latest code or apply the patch that follows.


- robert

Index: src/java/org/apache/commons/betwixt/io/
--- src/java/org/apache/commons/betwixt/io/
(revision 201849)
+++ src/java/org/apache/commons/betwixt/io/
(working copy)
@@ -1387,7 +1387,7 @@

                        // see if we have already have a matching
attribute descriptor
                        AttributeDescriptor[] attributeDescriptors =
-                       length = attributeDescriptors.length;
+                       length = super.getLength();
                        for (int i=0; i<length; i++) {
(idAttributeName.equals(attributeDescriptors[i])) {
                                        matchingAttribute = true;

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message