[ http://mc4j.org/jira/browse/STS-371?page=all ]

Ben Gunter resolved STS-371.
----------------------------

    Resolution: Fixed

Added a null check before calling getClass() on the element

> UrlBuilder.addParameter throws NPE when array/collection element is null
> ------------------------------------------------------------------------
>
>                 Key: STS-371
>                 URL: http://mc4j.org/jira/browse/STS-371
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.4.3
>            Reporter: Ben Gunter
>         Assigned To: Ben Gunter
>
> When an array or collection of values is passed into UrlBuilder.addParameter 
> and one of the elements of the array or collection is null, UrlBuilder throws 
> a NPE when attempting to call getClass() on the element.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to