Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 27649 invoked from network); 20 Jan 2006 15:17:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 15:17:13 -0000 Received: (qmail 18942 invoked by uid 500); 20 Jan 2006 15:17:08 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 18784 invoked by uid 500); 20 Jan 2006 15:17:07 -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 18686 invoked by uid 99); 20 Jan 2006 15:17:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Fri, 20 Jan 2006 07:17:06 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8A583E0 for ; Fri, 20 Jan 2006 16:16:45 +0100 (CET) Message-ID: <712603033.1137770205564.JavaMail.jira@ajax.apache.org> Date: Fri, 20 Jan 2006 16:16:45 +0100 (CET) From: "Jean-Baptiste Quenot (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Closed: (COCOON-1571) [PATCH] NullPointerException in MultiValueField MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1571?page=all ] Jean-Baptiste Quenot closed COCOON-1571: ---------------------------------------- Resolution: Cannot Reproduce Sample works for me too! > [PATCH] NullPointerException in MultiValueField > ----------------------------------------------- > > Key: COCOON-1571 > URL: http://issues.apache.org/jira/browse/COCOON-1571 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Versions: 2.2-dev (Current SVN) > Environment: Operating System: other > Platform: Other > Reporter: Peter Brant > Assignee: Jean-Baptiste Quenot > Attachments: multivaluefield.patch, sample.zip > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira