Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-71

NPE when there is a null value in a list used by a from element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.5.1.Final, 6.0.0.Alpha9
    • None
    • None
    • None

      The following rule throws an NPE if the list contains a null item:

      global java.util.List list
      
      rule R
      when
          $other : Integer( ) from list
      then
      end
      

            mfusco@redhat.com Mario Fusco
            mfusco@redhat.com Mario Fusco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: