Bruno P. Kinoshita created FUNCTOR-21:
-----------------------------------------
Summary: 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
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