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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to