You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/08/02 23:10:47 UTC

DO NOT REPLY [Bug 35986] New: - [PATCH] NullPointerException in MultiValueField

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35986>.
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.