Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 41438 invoked from network); 13 Dec 2005 22:30:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 22:30:55 -0000 Received: (qmail 99025 invoked by uid 500); 13 Dec 2005 22:30:53 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 98441 invoked by uid 500); 13 Dec 2005 22:30:51 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 98406 invoked by uid 99); 13 Dec 2005 22:30:51 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 14:30:50 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id A776A183; Tue, 13 Dec 2005 23:29:57 +0100 (CET) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37894] New: - [codec] Using US_ENGLISH static in Soundex causes NPE X-Bugzilla-Reason: AssignedTo Message-Id: <20051213222957.A776A183@ajax.apache.org> Date: Tue, 13 Dec 2005 23:29:57 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37894 Summary: [codec] Using US_ENGLISH static in Soundex causes NPE Product: Commons Version: 1.3 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Codec AssignedTo: commons-dev@jakarta.apache.org ReportedBy: rriser@informs.com If I generate a soundex like so: Soundex.US_ENGLISH.soundex( "Williams" ) I get a NullPointerException. But if I use the following: new Soundex().soundex( "Williams" ) everything works fine. I think the order of initialization of statics may be to blame. I'll attach a test case. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org