commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject Re: [betwixt] NullPointerException in 0.7RC1
Date Sun, 26 Jun 2005 14:26:55 GMT
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:

View raw message