Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 32541 invoked from network); 2 Aug 2005 21:11:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 21:11:06 -0000 Received: (qmail 44143 invoked by uid 500); 2 Aug 2005 21:11:02 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 44057 invoked by uid 500); 2 Aug 2005 21:11:01 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 44044 invoked by uid 99); 2 Aug 2005 21:11:01 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME 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, 02 Aug 2005 14:10:52 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 2F4F4E0; Tue, 2 Aug 2005 23:10:47 +0200 (CEST) From: bugzilla@apache.org To: dev@cocoon.apache.org Subject: DO NOT REPLY [Bug 35986] New: - [PATCH] NullPointerException in MultiValueField X-Bugzilla-Reason: AssignedTo Message-Id: <20050802211047.2F4F4E0@ajax.apache.org> Date: Tue, 2 Aug 2005 23:10:47 +0200 (CEST) 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=35986 Summary: [PATCH] NullPointerException in MultiValueField Product: Cocoon 2 Version: Current SVN 2.2 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: CocoonForms AssignedTo: dev@cocoon.apache.org ReportedBy: peter.brant@wicourts.gov If the locale is not specified and the selection list is being created dynamically, a NullPointerException can result (in my specific case, it was the DataType implementation using the locale as part of formatting a number). Patch is attached. It just uses the same technique that Field already uses. Patch is against 2.2, but if this could make it into the next 2.1 release too, that would be great. -- 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.