[
https://issues.apache.org/jira/browse/FUNCTOR-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruno P. Kinoshita resolved FUNCTOR-21.
---------------------------------------
Resolution: Fixed
Fixed in r1363382. An extra verification was added to the then method. Tests in
place.
> NPE when UnarySequence is created with an arraylist containing a null element
> -----------------------------------------------------------------------------
>
> Key: FUNCTOR-21
> URL: https://issues.apache.org/jira/browse/FUNCTOR-21
> Project: Commons Functor
> Issue Type: Bug
> Environment: Java 1.6
> Debian 6
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Priority: Minor
> Labels: npe
>
> If you create a UnarySequence<?> with an ArrayList that contains a null
> element and execute the run method, you will receive a NullPointerException.
> The same happens when you use the constructor UnarySequence(UnaryProcedure<?
> super A>... procedures). A null procedure is converted into a list with the
> null object as the sole element.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira