Uploaded image for project: 'Commons Functor (Dormant)'
  1. Commons Functor (Dormant)
  2. FUNCTOR-21

NPE when UnarySequence is created with an arraylist containing a null element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Java 1.6
      Debian 6

    Description

      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.

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            kinow Bruno P. Kinoshita
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: